Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PowerOff defines the action of powering off a device PowerOff = "poweroff" // PowerOn defines the action of powering on a device PowerOn = "poweron" // PowerCycle defines the action of power cycle a device PowerCycle = "powercycle" // HardReset defines the action of hard reset a device HardReset = "hardreset" // Reseat defines the action of power reseat a device Reseat = "reseat" // IsOn defines the current power status of a device IsOn = "ison" // PowerCycleBmc the action of power cycle the bmc of a device PowerCycleBmc = "powercyclebmc" // PxeOnce the action of pxe once a device PxeOnce = "pxeonce" )
Variables ¶
This section is empty.
Functions ¶
func IsntLetterOrNumber ¶
IsntLetterOrNumber check if the give rune is not a letter nor a number
Types ¶
type SSHClient ¶
type SSHClient struct {
// contains filtered or unexported fields
}
SSHClient implements out commom abstraction for ssh
Click to show internal directories.
Click to hide internal directories.