Documentation ¶
Overview ¶
Package role provides roles, which are a way to share common attributes and run lists between different nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Role ¶
type Role struct { Name string `json:"name"` ChefType string `json:"chef_type"` JsonClass string `json:"json_class"` RunList []string `json:"run_list"` EnvRunLists map[string][]string `json:"env_run_lists"` Description string `json:"description"` Default map[string]interface{} `json:"default_attributes"` Override map[string]interface{} `json:"override_attributes"` }
func NewFromJson ¶
Create a new role from the uploaded JSON.
Click to show internal directories.
Click to hide internal directories.