// Flatten the environment so it's suitable for indexing. func (e *ChefEnvironment) Flatten() map[string]interface{} { return util.FlattenObj(e) }
// Flatten a node for indexing. func (n *Node) Flatten() map[string]interface{} { return util.FlattenObj(n) }
// Flatten out the client so it's suitable for indexing. func (c *Client) Flatten() map[string]interface{} { return util.FlattenObj(c.flatExport()) }
func (to *testObj) Flatten() map[string]interface{} { flatten := util.FlattenObj(to) return flatten }
// Flatten a role so it's suitable for indexing. func (r *Role) Flatten() map[string]interface{} { return util.FlattenObj(r) }