Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Power *Power // contains filtered or unexported fields }
Client represents an IPMI client
type Power ¶
type Power struct {
// contains filtered or unexported fields
}
Power represents the ipmi power command
func (*Power) Status ¶
func (p *Power) Status() (PowerState, error)
Status fetches the current power state of the ipmi server
type PowerState ¶
type PowerState string
PowerState represents an IPMI node/server state of power
const ( // PowerStateOn represents a powered on state PowerStateOn PowerState = "on" // PowerStateOff represents a powered off state PowerStateOff PowerState = "off" // PowerStateUnknown represents an unknown power state PowerStateUnknown PowerState = "unknown" )
Click to show internal directories.
Click to hide internal directories.