Documentation
¶
Index ¶
- func EscapePassword(password string) string
- func GetBMCInfoBmcURL(ipmiOutput Result) (string, error)
- func GetBMCInfoFirmwareRevision(ipmiOutput Result) (string, error)
- func GetBMCInfoManufacturerID(ipmiOutput Result) (string, error)
- func GetBMCInfoSystemFirmwareVersion(ipmiOutput Result) (string, error)
- func GetBMCWatchdogCurrentCountdown(ipmiOutput Result) (float64, error)
- func GetBMCWatchdogInitialCountdown(ipmiOutput Result) (float64, error)
- func GetBMCWatchdogLoggingState(ipmiOutput Result) (float64, error)
- func GetBMCWatchdogPretimeoutInterrupt(ipmiOutput Result) (string, error)
- func GetBMCWatchdogPretimeoutInterval(ipmiOutput Result) (float64, error)
- func GetBMCWatchdogTimeoutAction(ipmiOutput Result) (string, error)
- func GetBMCWatchdogTimerState(ipmiOutput Result) (float64, error)
- func GetBMCWatchdogTimerUse(ipmiOutput Result) (string, error)
- func GetChassisCoolingFault(ipmiOutput Result) (float64, error)
- func GetChassisDriveFault(ipmiOutput Result) (float64, error)
- func GetChassisPowerState(ipmiOutput Result) (float64, error)
- func GetCurrentPowerConsumption(ipmiOutput Result) (float64, error)
- func GetRawOctets(ipmiOutput Result) ([]string, error)
- func GetSELInfoEntriesCount(ipmiOutput Result) (float64, error)
- func GetSELInfoFreeSpace(ipmiOutput Result) (float64, error)
- type Result
- type SELEventData
- type SensorData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapePassword ¶
EscapePassword escapes a password so that the result is suitable for usage in a FreeIPMI config file.
func GetBMCInfoBmcURL ¶ added in v1.10.0
func GetBMCWatchdogCurrentCountdown ¶ added in v1.8.0
func GetBMCWatchdogInitialCountdown ¶ added in v1.8.0
func GetBMCWatchdogLoggingState ¶ added in v1.8.0
func GetBMCWatchdogPretimeoutInterrupt ¶ added in v1.8.0
func GetBMCWatchdogPretimeoutInterval ¶ added in v1.8.0
func GetBMCWatchdogTimeoutAction ¶ added in v1.8.0
func GetBMCWatchdogTimerState ¶ added in v1.8.0
func GetBMCWatchdogTimerUse ¶ added in v1.8.0
func GetChassisCoolingFault ¶ added in v1.7.0
func GetChassisDriveFault ¶ added in v1.7.0
func GetChassisPowerState ¶
func GetRawOctets ¶
func GetSELInfoEntriesCount ¶
func GetSELInfoFreeSpace ¶
Types ¶
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
Result represents the outcome of a call to one of the FreeIPMI tools. It can be used with other functions in this package to extract data.
type SELEventData ¶ added in v1.8.0
type SELEventData struct { ID int64 Date string Time string Name string Type string State string Event string }
SELEvent represents log line from SEL
func GetSELEvents ¶ added in v1.8.0
func GetSELEvents(ipmiOutput Result) ([]SELEventData, error)
type SensorData ¶
type SensorData struct { ID int64 Name string Type string State string Value float64 Unit string Event string }
SensorData represents the reading of a single sensor.
func GetSensorData ¶
func GetSensorData(ipmiOutput Result, excludeSensorIDs []int64) ([]SensorData, error)
Click to show internal directories.
Click to hide internal directories.