Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHostConfigData ¶
func NewHostConfigData(userData string, networkData string, metaData string) provisioner.HostConfigData
NewHostConfigData creates new host configuration data.
Types ¶
type Fixture ¶
type Fixture struct { // counter to set the provisioner as ready BecomeReadyCounter int // state to manage deletion Deleted bool HostFirmwareSettings HostFirmwareSettingsMock HostFirmwareComponents HostFirmwareComponentsMock // contains filtered or unexported fields }
Fixture contains persistent state for a particular host.
func (*Fixture) NewProvisioner ¶
func (f *Fixture) NewProvisioner(_ context.Context, hostData provisioner.HostData, publisher provisioner.EventPublisher) (provisioner.Provisioner, error)
NewProvisioner returns a new Fixture Provisioner.
func (*Fixture) SetValidateError ¶
type HostFirmwareComponentsMock ¶ added in v0.8.0
type HostFirmwareComponentsMock struct {
Components []metal3api.FirmwareComponentStatus
}
type HostFirmwareSettingsMock ¶ added in v0.8.0
type HostFirmwareSettingsMock struct { Settings metal3api.SettingsMap Schema map[string]metal3api.SettingSchema }
Click to show internal directories.
Click to hide internal directories.