ironic

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 36 Imported by: 2

Documentation

Index

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

func NewMacAddressConflictError(address, node string) error

NewMacAddressConflictError is a wrap for macAddressConflictError error.

func NewProvisionerFactory

func NewProvisionerFactory(logger logr.Logger, havePreprovImgBuilder bool) (provisioner.Factory, error)

func NewProvisionerFactoryWithClient added in v0.12.0

func NewProvisionerFactoryWithClient(logger logr.Logger, havePreprovImgBuilder bool, k8sClient client.Client, apiReader client.Reader, ironicName, ironicNamespace string) (provisioner.Factory, error)

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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