Documentation ¶
Index ¶
Constants ¶
View Source
const AuthMD2 = "MD2"
View Source
const AuthMD5 = "MD5"
View Source
const AuthNone = "NONE"
View Source
const AuthOEM = "OEM"
View Source
const AuthPASSWORD = "PASSWORD"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChassisStatus ¶
type ChassisStatus struct { // meta-status that says if last connection to server was successful Connected bool `json:"connected"` Power bool `json:"power"` PowerRestorePolicy string `json:"power_restore_policy"` LastPowerEvent string `json:"last_power_event"` DriveFault bool `json:"drive_fault"` CoolingFault bool `json:"cooling_fault"` Identify bool `json:"identify"` }
type Instance ¶
type Instance struct { IP string AuthType string User string Password string // contains filtered or unexported fields }
func (Instance) GetChassisStatus ¶
func (i Instance) GetChassisStatus() (ChassisStatus, error)
func (Instance) PowerCycle ¶
Click to show internal directories.
Click to hide internal directories.