Documentation
¶
Overview ¶
Package node implements nodes. They do chef-client runs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
Name string `json:"name"`
ChefEnvironment string `json:"chef_environment"`
RunList []string `json:"run_list"`
JsonClass string `json:"json_class"`
ChefType string `json:"chef_type"`
Automatic map[string]interface{} `json:"automatic"`
Normal map[string]interface{} `json:"normal"`
Default map[string]interface{} `json:"default"`
Override map[string]interface{} `json:"override"`
}
func GetFromEnv ¶ added in v0.5.0
func NewFromJson ¶
Create a new node from the uploaded JSON.
Click to show internal directories.
Click to hide internal directories.