hpe

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fan

type Fan struct {
	redfish.Fan
	Oem FanOem
}

func FromFan

func FromFan(fan *redfish.Fan) (Fan, error)

type FanOem

type FanOem struct {
	Hpe struct {
		OdataContext string `json:"@odata.context"`
		OdataType    string `json:"@odata.type"`
		Location     string `json:"Location"`
		Redundant    bool   `json:"Redundant"`
		HotPluggable bool   `json:"HotPluggable"`
	} `json:"Hpe"`
}

type Thermal

type Thermal struct {
	redfish.Thermal
	Fans []Fan
	Oem  ThermalOem
}

func FromThermal

func FromThermal(thermal *redfish.Thermal) (Thermal, error)

type ThermalOem

type ThermalOem struct {
	Hpe struct {
		OdataContext         string `json:"@odata.context"`
		OdataType            string `json:"@odata.type"`
		ThermalConfiguration string `json:"ThermalConfiguration"`
		FanPercentMinimum    int    `json:"FanPercentMinimum"`
	} `json:"Hpe"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL