Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func DefaultConfig(operatingSystemSpec runtime.RawExtension) runtime.RawExtension
func DefaultConfigForCloud ¶
func DefaultConfigForCloud(operatingSystemSpec runtime.RawExtension, cloudProvider types.CloudProvider, externalBootstrapEnabled bool) runtime.RawExtension
Types ¶
type Config ¶
type Config struct { DisableAutoUpdate bool `json:"disableAutoUpdate"` DisableLocksmithD bool `json:"disableLocksmithD"` DisableUpdateEngine bool `json:"disableUpdateEngine"` // ProvisioningUtility specifies the type of provisioning utility, allowed values are cloud-init and ignition. // Defaults to cloud-init for AWS, and ignition for other providers. ProvisioningUtility `json:"provisioningUtility,omitempty"` }
Config contains specific configuration for Flatcar.
func LoadConfig ¶
func LoadConfig(r runtime.RawExtension) (*Config, error)
LoadConfig retrieves the Flatcar configuration from raw data.
type Provider ¶
type Provider struct{}
Provider is a pkg/userdata/plugin.Provider implementation.
func (Provider) UserData ¶
func (p Provider) UserData(log *zap.SugaredLogger, req plugin.UserDataRequest) (string, error)
UserData renders user-data template to string.
type ProvisioningUtility ¶
type ProvisioningUtility string
ProvisioningUtility specifies the type of provisioning utility.
const ( Ignition ProvisioningUtility = "ignition" CloudInit ProvisioningUtility = "cloud-init" )
Click to show internal directories.
Click to hide internal directories.