Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface {
Generate(*OperatingSystemConfig) (osconfig []byte, command *string, err error)
}
Generator renders an OperatingSystemConfig into a representation suitable for an specific OS also returns the os specific command for applying this configuration
type OperatingSystemConfig ¶
type OperatingSystemConfig struct { CRI *extensionsv1alpha1.CRIConfig Files []*File Units []*Unit Bootstrap bool Path *string }
OperatingSystemConfig is the data required to create a cloud init script.
Click to show internal directories.
Click to hide internal directories.