Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootMode ¶
type BootMode string
BootMode is the boot mode of the system +kubebuilder:validation:Enum=UEFI;legacy
const ( UEFI BootMode = "UEFI" SecureUEFI BootMode = "UEFI secure boot" Legacy BootMode = "legacy" DefaultBootMode BootMode = UEFI )
Allowed boot mode
func (BootMode) IronicBootMode ¶
func (BootMode) MakeCapabilities ¶
func (BootMode) MakeInstanceUpdate ¶
func (bm BootMode) MakeInstanceUpdate(node *nodes.Node) (updates nodes.UpdateOpts)
func (BootMode) ReplaceInCapabilities ¶
type RootDeviceHints ¶
type RootDeviceHints struct { // A Linux device name like "/dev/vda". The hint must match the // actual value exactly. DeviceName string `json:"deviceName,omitempty"` // A SCSI bus address like 0:0:0:0. The hint must match the actual // value exactly. HCTL string `json:"hctl,omitempty"` // A vendor-specific device identifier. The hint can be a // substring of the actual value. Model string `json:"model,omitempty"` // The name of the vendor or manufacturer of the device. The hint // can be a substring of the actual value. Vendor string `json:"vendor,omitempty"` // Device serial number. The hint must match the actual value // exactly. SerialNumber string `json:"serialNumber,omitempty"` // The minimum size of the device in Gigabytes. // +kubebuilder:validation:Minimum=0 MinSizeGigabytes int `json:"minSizeGigabytes,omitempty"` // Unique storage identifier. The hint must match the actual value // exactly. WWN string `json:"wwn,omitempty"` // Unique storage identifier with the vendor extension // appended. The hint must match the actual value exactly. WWNWithExtension string `json:"wwnWithExtension,omitempty"` // Unique vendor storage identifier. The hint must match the // actual value exactly. WWNVendorExtension string `json:"wwnVendorExtension,omitempty"` // True if the device should use spinning media, false otherwise. Rotational *bool `json:"rotational,omitempty"` }
RootDeviceHints holds the hints for specifying the storage location for the root filesystem for the image.
func (*RootDeviceHints) MakeHintMap ¶
func (source *RootDeviceHints) MakeHintMap() map[string]string
MakeHintMap converts a RootDeviceHints instance into a string map suitable to pass to ironic.
Click to show internal directories.
Click to hide internal directories.