Documentation
¶
Overview ¶
Package amt implements just enough WS-Management to query and set the DUT's power state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMTClient ¶
type AMTClient struct {
// contains filtered or unexported fields
}
AMTClient holds WS-Management connection data.
func NewAMTClient ¶
func NewAMTClient(ctx context.Context, hostname string, username string, password string, useTLS bool) *AMTClient
NewAMTClient returns a new AMTClient instance.
func (AMTClient) GetPowerState ¶
GetPowerState returns the power state as an int.
Click to show internal directories.
Click to hide internal directories.