diskencryption

package
v0.0.0-...-3439013 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL