Documentation
¶
Index ¶
- func BuildRAIDCleanSteps(raidInterface string, target *metal3api.RAIDConfig, ...) (cleanSteps []nodes.CleanStep, err error)
- func BuildTargetRAIDCfg(raid *metal3api.RAIDConfig) (logicalDisks []nodes.LogicalDisk, err error)
- func CheckRAIDInterface(raidInterface string, target, actual *metal3api.RAIDConfig) (string, error)
- func NewMacAddressConflictError(address, node string) error
- func NewProvisionerFactory(logger logr.Logger, havePreprovImgBuilder bool) provisioner.Factory
- type VirtualMedia
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRAIDCleanSteps ¶
func BuildRAIDCleanSteps(raidInterface string, target *metal3api.RAIDConfig, actual *metal3api.RAIDConfig) (cleanSteps []nodes.CleanStep, err error)
BuildRAIDCleanSteps build the clean steps for RAID configuration from BaremetalHost spec.
func BuildTargetRAIDCfg ¶
func BuildTargetRAIDCfg(raid *metal3api.RAIDConfig) (logicalDisks []nodes.LogicalDisk, err error)
BuildTargetRAIDCfg build RAID logical disks, this method doesn't set the root volume.
func CheckRAIDInterface ¶
func CheckRAIDInterface(raidInterface string, target, actual *metal3api.RAIDConfig) (string, error)
CheckRAIDInterface checks the current RAID interface against the requested configuration.
func NewMacAddressConflictError ¶
NewMacAddressConflictError is a wrap for macAddressConflictError error.
func NewProvisionerFactory ¶
func NewProvisionerFactory(logger logr.Logger, havePreprovImgBuilder bool) provisioner.Factory
Types ¶
type VirtualMedia ¶ added in v0.10.0
type VirtualMedia struct {
Image string `json:"image"`
Inserted bool `json:"inserted"`
//nolint:tagliatelle
MediaTypes []string `json:"media_types"`
}
FIXME(hroyrh) : move this to gophercloud when implementing VirtualMediaGetResult Extract function.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.