Documentation ¶
Overview ¶
Package baremetal contains bare-metal related resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var MachineStatusType = infra.ResourceType("BareMetalMachineStatus", providermeta.ProviderID)
MachineStatusType is the type of MachineStatus resource.
var Namespace = infra.ResourceNamespace(providermeta.ProviderID)
Namespace is the resource namespace of this provider.
var PowerStatusType = infra.ResourceType("BareMetalPowerStatus", providermeta.ProviderID)
PowerStatusType is the type of PowerStatus resource.
Functions ¶
This section is empty.
Types ¶
type MachineStatus ¶
type MachineStatus = typed.Resource[MachineStatusSpec, MachineStatusExtension]
MachineStatus describes machine status configuration.
func NewMachineStatus ¶
func NewMachineStatus(id string) *MachineStatus
NewMachineStatus creates a new MachineStatus.
type MachineStatusExtension ¶
type MachineStatusExtension struct{}
MachineStatusExtension providers auxiliary methods for MachineStatus resource.
func (MachineStatusExtension) ResourceDefinition ¶
func (MachineStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type MachineStatusSpec ¶
type MachineStatusSpec = protobuf.ResourceSpec[specs.MachineStatusSpec, *specs.MachineStatusSpec]
MachineStatusSpec wraps specs.MachineStatusSpec.
type PowerStatus ¶
type PowerStatus = typed.Resource[PowerStatusSpec, PowerStatusExtension]
PowerStatus describes power status configuration.
func NewPowerStatus ¶
func NewPowerStatus(id string) *PowerStatus
NewPowerStatus creates a new PowerStatus.
type PowerStatusExtension ¶
type PowerStatusExtension struct{}
PowerStatusExtension providers auxiliary methods for PowerStatus resource.
func (PowerStatusExtension) ResourceDefinition ¶
func (PowerStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type PowerStatusSpec ¶
type PowerStatusSpec = protobuf.ResourceSpec[specs.PowerStatusSpec, *specs.PowerStatusSpec]
PowerStatusSpec wraps specs.PowerStatusSpec.