Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultAuthfileLimit = 12288 // TODO: use a whole userdata limit mechanism instead of limiting authfile
)
Variables ¶
This section is empty.
Functions ¶
func AuthJSONToResourcesJSON ¶
Types ¶
type CloudConfig ¶
type CloudConfig struct {
WriteFiles []WriteFile `yaml:"write_files"`
}
func (*CloudConfig) Generate ¶
func (config *CloudConfig) Generate() (string, error)
type CloudConfigGenerator ¶
type WriteFile ¶
type WriteFile struct { Path string `yaml:"path"` Content string `yaml:"content,omitempty"` Owner string `yaml:"owner,omitempty"` Permissions string `yaml:"permissions,omitempty"` Encoding string `yaml:"encoding,omitempty"` Append string `yaml:"append,omitempty"` }
https://cloudinit.readthedocs.io/en/latest/topics/modules.html#write-files
Click to show internal directories.
Click to hide internal directories.