Versions in this module Expand all Collapse all v0 v0.1.0 May 7, 2014 Changes in this version + type Chef struct + Host string + Key *rsa.PrivateKey + Organization string + Port string + SSLNoVerify bool + Url string + UserId string + Version string + func Connect(filename ...string) (*Chef, error) + func ConnectBuilder(host, port, version, userid, key string, organization string) (*Chef, error) + func (chef *Chef) Delete(endpoint string, params map[string]string) (*http.Response, error) + func (chef *Chef) Get(endpoint string) (*http.Response, error) + func (chef *Chef) GetClient(name string) (*Client, bool, error) + func (chef *Chef) GetClients() (map[string]string, error) + func (chef *Chef) GetCookbook(name string) (*Cookbook, bool, error) + func (chef *Chef) GetCookbookVersion(name, version string) (*CookbookVersion, bool, error) + func (chef *Chef) GetCookbooks() (map[string]*Cookbook, error) + func (chef *Chef) GetData() (map[string]string, error) + func (chef *Chef) GetDataByName(name string) (map[string]string, bool, error) + func (chef *Chef) GetEnvironment(name string) (*Environment, bool, error) + func (chef *Chef) GetEnvironmentCookbook(env, cb string) (*Cookbook, bool, error) + func (chef *Chef) GetEnvironmentCookbooks(name string) (map[string]*Cookbook, error) + func (chef *Chef) GetEnvironmentNodes(name string) (map[string]string, error) + func (chef *Chef) GetEnvironmentRecipes(name string) ([]string, error) + func (chef *Chef) GetEnvironmentRole(env, rol string) (map[string][]string, bool, error) + func (chef *Chef) GetEnvironments() (map[string]string, error) + func (chef *Chef) GetNode(name string) (*Node, bool, error) + func (chef *Chef) GetNodes() (map[string]string, error) + func (chef *Chef) GetPrincipal(name string) (map[string]string, bool, error) + func (chef *Chef) GetRole(name string) (*Role, bool, error) + func (chef *Chef) GetRoles() (map[string]string, error) + func (chef *Chef) GetSearchIndexes() (map[string]string, error) + func (chef *Chef) GetUsers() (map[string]string, error) + func (chef *Chef) GetWithParams(endpoint string, params map[string]string) (*http.Response, error) + func (chef *Chef) NewSearchQuery(index, query string) *SearchParams + func (chef *Chef) Post(endpoint string, params map[string]string, body io.Reader) (*http.Response, error) + func (chef *Chef) Put(endpoint string, params map[string]string) (*http.Response, error) + func (chef *Chef) Search(index, query string) (*SearchResults, error) + func (chef *Chef) SearchWithParams(index, query string, params map[string]interface{}) (*SearchResults, error) + type Client struct + Admin bool + Certificate string + ChefType string + ClientName string + JSONClass string + Name string + Org string + PublicKey string + Validator bool + type Cookbook struct + Url string + Versions []struct{ ... } + type CookbookItem struct + Checksum string + Name string + Path string + Specificity string + Url string + type CookbookVersion struct + Attributes []struct{ ... } + ChefType string + Definitions []struct{ ... } + Files []struct{ ... } + Frozen bool + FullName string + JSONClass string + Libraries []struct{ ... } + Metadata struct{ ... } + Name string + Providers []struct{ ... } + Recipes []struct{ ... } + Resources []struct{ ... } + RootFiles []struct{ ... } + Templates []struct{ ... } + Version string + type Environment struct + ChefType string + CookbookVersions map[string]string + DefaultAttributes map[string]interface{} + Description string + JSONClass string + Name string + OverrideAttributes map[string]interface{} + type Node struct + ChefType string + Default map[string]interface{} + Environment string + Info struct{ ... } + JSONClass string + Name string + Normal map[string]interface{} + RunList []string + type Role struct + ChefType string + DefaultAttributes map[string]interface{} + JSONClass string + Name string + OverrideAttributes map[string]interface{} + RunList []string + type SearchParams struct + Index string + Query string + Rows int + Sort string + Start int + func (search *SearchParams) Execute() (*SearchResults, error) + type SearchResults struct + Rows []interface{} + Start int + Total int