Documentation
¶
Index ¶
- type Client
- func (c *Client) Close(ctx context.Context) error
- func (c *Client) IsPoweredOn(ctx context.Context) (bool, error)
- func (c *Client) Open(ctx context.Context) error
- func (c *Client) PowerCycle(ctx context.Context) error
- func (c *Client) PowerOff(ctx context.Context) error
- func (c *Client) PowerOn(ctx context.Context) error
- func (c *Client) SetPXE(ctx context.Context) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Host string Logger logr.Logger Pass string Path string Port uint32 Scheme string User string // contains filtered or unexported fields }
Client used to perform actions on the machine.
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.