Documentation ¶
Overview ¶
Package ipmi provides power management functionality using IPMI.
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) IsPoweredOn(context.Context) (bool, error)
- func (c *Client) PowerOff(context.Context) error
- func (c *Client) PowerOn(context.Context) error
- func (c *Client) Reboot(context.Context) error
- func (c *Client) SetPXEBootOnce(_ context.Context, mode pxe.BootMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around the goipmi client.
func NewClient ¶
func NewClient(info *specs.PowerManagement_IPMI) (*Client, error)
NewClient creates a new IPMI client.
func (*Client) IsPoweredOn ¶
IsPoweredOn implements the power.Client interface.
Click to show internal directories.
Click to hide internal directories.