Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Director ¶
type Director interface { GetVariables() ([]*Variable, error) GetManifest(deployment string) ([]byte, error) GetActiveCloudConfigs(deployment string) (map[string][]byte, error) GetLatestCloudConfigs(deployment string) (map[string][]byte, error) GetActiveRuntimeConfigs(deployment string) (map[string][]byte, error) GetLatestRuntimeConfigs(deployment string) (map[string][]byte, error) }
type UpdateMode ¶
type UpdateMode string
const (
NoOverwrite, Overwrite, Converge UpdateMode = "no-overwrite", "overwrite", "converge"
)
type Variable ¶
type Variable struct { ID string Name string Deployment string Definition *VariableDefinition }
type VariableDefinition ¶
type VariableDefinition struct { Name string `yaml:"name" json:"name"` Type string `yaml:"type" json:"type"` UpdateMode UpdateMode `yaml:"update_mode,omitempty" json:"update_mode,omitempty"` Options map[string]interface{} `yaml:"options,omitempty" json:"options,omitempty"` }
func (*VariableDefinition) UnmarshalYAML ¶
func (v *VariableDefinition) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.