Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgnitionConfig ¶
type IgnitionConfig struct { Storage struct { LUKS []struct { Clevis struct { Tpm bool `json:"tpm2"` Tang []struct { Thumbprint string `json:"thumbprint"` URL string `json:"url"` } } `json:"clevis"` Device string `json:"device"` Name string `json:"name"` Options []string `json:"options"` WipeVolume bool `json:"wipeVolume"` } `json:"luks"` } `json:"storage"` }
IgnitionConfig represents the ignitionconfig present in the config section of a machineconfig with disk encryption.
func GetIgnitionConfigFromMachineConfig ¶
func GetIgnitionConfigFromMachineConfig( apiClient *clients.Settings, machineConfigName string) (*IgnitionConfig, error)
GetIgnitionConfigFromMachineConfig creates a luks IgnitionConfig from the provided machineconfig.
Click to show internal directories.
Click to hide internal directories.