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
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 ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.