Documentation
¶
Index ¶
- type APIClient
- func (c *APIClient) BMC() (*api.BMC, error)
- func (c *APIClient) BoardInfo() (*api.Board, error)
- func (c *APIClient) GetBootOptions() ([]*schemas.BootOption, 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(entries []*schemas.BootOption) error
- func (c *APIClient) SetBootTarget(target hal.BootTarget) error
- func (c *APIClient) SetChassisIdentifyLEDOff() error
- func (c *APIClient) SetChassisIdentifyLEDOn() error
- func (c *APIClient) SetChassisIdentifyLEDState(state hal.IdentifyLEDState) error
- func (c *APIClient) UpdateFirmware(url string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
func (*APIClient) GetBootOptions ¶ added in v0.7.0
func (c *APIClient) GetBootOptions() ([]*schemas.BootOption, error)
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(entries []*schemas.BootOption) error
SetBootOrder sets the boot order to match the sequence of the boot option entries
func (*APIClient) SetBootTarget ¶ added in v0.7.0
func (c *APIClient) SetBootTarget(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
func (*APIClient) UpdateFirmware ¶ added in v0.7.0
UpdateFirmware triggers a firmware update using the given URL BMC analyzes the file and chooses the right component to update
Click to show internal directories.
Click to hide internal directories.