Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBootDeviceSetter ¶
func NewBootDeviceSetter(opts ...Option) (oob.BootDeviceSetter, error)
NewBootDeviceSetter returns an oob.BootDeviceSetter interface
func NewPowerSetter ¶
func NewPowerSetter(opts ...Option) (oob.PowerSetter, error)
NewPowerSetter returns an oob.PowerSetter interface
Types ¶
type Action ¶
type Action struct { common.Accessory PowerRequest *v1.PowerRequest BootDeviceRequest *v1.DeviceRequest }
Action for making power actions on BMCs, implements oob.Machine interface
type Option ¶
Option to add to an Actions
func WithDeviceRequest ¶
func WithDeviceRequest(in *v1.DeviceRequest) Option
WithDeviceRequest adds DeviceRequest to an Action struct
func WithPowerRequest ¶
func WithPowerRequest(in *v1.PowerRequest) Option
WithPowerRequest adds PowerRequest to an Action struct
func WithStatusMessage ¶
WithStatusMessage adds a status message chan to an Action struct
Click to show internal directories.
Click to hide internal directories.