Documentation
¶
Index ¶
- type APIClient
- func (c *APIClient) BMC() (*api.BMC, error)
- func (c *APIClient) BoardInfo() (*api.Board, error)
- func (c *APIClient) MachineUUID() (string, error)
- func (c *APIClient) PowerCycle() error
- func (c *APIClient) PowerOff() error
- func (c *APIClient) PowerOn() error
- func (c *APIClient) PowerReset() error
- func (c *APIClient) PowerState() (hal.PowerState, error)
- func (c *APIClient) SetBootOrder(target hal.BootTarget) error
- func (c *APIClient) SetChassisIdentifyLEDOff() error
- func (c *APIClient) SetChassisIdentifyLEDOn() error
- func (c *APIClient) SetChassisIdentifyLEDState(state hal.IdentifyLEDState) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
func (*APIClient) MachineUUID ¶
MachineUUID retrieves a unique uuid for this (hardware) machine
func (*APIClient) PowerCycle ¶
func (*APIClient) PowerReset ¶
func (*APIClient) PowerState ¶
func (c *APIClient) PowerState() (hal.PowerState, error)
func (*APIClient) SetBootOrder ¶
func (c *APIClient) SetBootOrder(target hal.BootTarget) error
func (*APIClient) SetChassisIdentifyLEDOff ¶ added in v0.6.0
SetChassisIdentifyLEDOff turns off the chassis identify LED
func (*APIClient) SetChassisIdentifyLEDOn ¶ added in v0.6.0
SetChassisIdentifyLEDOn turns on the chassis identify LED
func (*APIClient) SetChassisIdentifyLEDState ¶ added in v0.6.0
func (c *APIClient) SetChassisIdentifyLEDState(state hal.IdentifyLEDState) error
SetChassisIdentifyLEDState sets the chassis identify LED to given state
Click to show internal directories.
Click to hide internal directories.