Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.3.1"
Variables ¶
View Source
var ( // success RcOK = ReturnCode("0x0") // idrac6 RcIdrac6InvalidUserPassword = ReturnCode("0x10") // idrac7 RcIdrac7InvalidUserPassword = ReturnCode("0x140004") )
known RC meanings
Functions ¶
Types ¶
type DiscoverResponse ¶
type DiscoverResponse struct { XMLName xml.Name `xml:"DISCOVER"` Response struct { XMLName xml.Name `xml:"RESP"` ReturnCode string `xml:"RC"` EndpointType string `xml:"ENDPOINTTYPE"` EndpointVersion string `xml:"ENDPOINTVER"` ProtocolType string `xml:"PROTOCOLTYPE"` ProtocolVersion string `xml:"PROTOCOLVER"` } }
type LoginResponse ¶
type LogoutResponse ¶
type ReturnCode ¶
type ReturnCode string
ReturnCode is a special string represening "RC" as returned in an idrac's XML response.
func (ReturnCode) Error ¶
func (rc ReturnCode) Error() string
Error() implements the error interface by returning the error code and any known meaning.
Click to show internal directories.
Click to hide internal directories.