Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BMCInfo ¶
type BMCInfo struct { // BMC endpoint. Endpoint string `json:"endpoint"` // BMC port. Defaults to 623. Port *uint32 `json:"port,omitempty"` // BMC user value. User string `json:"user,omitempty"` // BMC password value. Pass string `json:"pass,omitempty"` // BMC Interface Type. Defaults to lanplus. Interface *string `json:"interface,omitempty"` }
type Client ¶
Client is a holder for the IPMIClient. SEE https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf
func (*Client) IsPoweredOn ¶
IsPoweredOn checks current power state.
func (*Client) PowerCycle ¶
PowerCycle will power cycle a given machine.
Click to show internal directories.
Click to hide internal directories.