Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCloudConfig = errors.New("not a config (found coreos-cloudconfig)") ErrEmpty = errors.New("not a config (empty)") ErrScript = errors.New("not a config (found coreos-cloudinit script)") ErrDeprecated = errors.New("config format deprecated") ErrInvalid = errors.New("config is not valid") ErrUnknownVersion = errors.New("unsupported config version") ErrVersionIndeterminable = errors.New("unable to determine version") ErrBadVersion = errors.New("config must be of version 2.2.0") )
Functions ¶
func Append ¶
Append appends newConfig to oldConfig and returns the result. Appending one config to another is accomplished by iterating over every field in the config structure, appending slices, recursively appending structs, and overwriting old values with new values for all other types.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.