Documentation
¶
Index ¶
- func BuildRAIDCleanSteps(raid *metal3v1alpha1.RAIDConfig) (cleanSteps []nodes.CleanStep)
- func BuildTargetRAIDCfg(raid *metal3v1alpha1.RAIDConfig) (logicalDisks []nodes.LogicalDisk, err error)
- func NewMacAddressConflictError(address, node string) error
- func NewProvisionerFactory() provisioner.Factory
- type HostLockedError
- type SoftPowerOffUnsupportedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRAIDCleanSteps ¶
func BuildRAIDCleanSteps(raid *metal3v1alpha1.RAIDConfig) (cleanSteps []nodes.CleanStep)
BuildRAIDCleanSteps build the clean steps for RAID configuration from BaremetalHost spec
func BuildTargetRAIDCfg ¶
func BuildTargetRAIDCfg(raid *metal3v1alpha1.RAIDConfig) (logicalDisks []nodes.LogicalDisk, err error)
BuildTargetRAIDCfg build RAID logical disks, this method doesn't set the root volume
func NewMacAddressConflictError ¶
NewMacAddressConflictError is a wrap for macAddressConflictError error
func NewProvisionerFactory ¶
func NewProvisionerFactory() provisioner.Factory
Types ¶
type HostLockedError ¶
type HostLockedError struct { }
HostLockedError is returned when the BMC host is locked.
func (HostLockedError) Error ¶
func (e HostLockedError) Error() string
type SoftPowerOffUnsupportedError ¶
type SoftPowerOffUnsupportedError struct { }
SoftPowerOffUnsupportedError is returned when the BMC does not support soft power off.
func (SoftPowerOffUnsupportedError) Error ¶
func (e SoftPowerOffUnsupportedError) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.