Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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.
func NewBootDeviceSetter ¶
NewBootDeviceSetter returns an oob.BootDeviceSetter interface.
func NewPowerSetter ¶
NewPowerSetter returns an oob.PowerSetter 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 WithSkipRedfishVersions ¶
WithSkipRedfishVersions sets the Redfish versions to skip in the Action struct.
func WithStatusMessage ¶
WithStatusMessage adds a status message chan to an Action struct.
Click to show internal directories.
Click to hide internal directories.