Documentation ¶
Index ¶
- Variables
- func GetLanChannel(sysinfo *types.SSystemInfo) []int
- func GetRootId(sysinfo *types.SSystemInfo) int
- func GetRootName(sysinfo *types.SSystemInfo) string
- func IsStrongPass(sysinfo *types.SSystemInfo) bool
- type IPMIProfile
- func DefaultProfile() IPMIProfile
- func FoxconnProfile() IPMIProfile
- func GetProfile(sysinfo *types.SSystemInfo) IPMIProfile
- func H3CProfile() IPMIProfile
- func HpProfile() IPMIProfile
- func HuaweiProfile() IPMIProfile
- func InspurProfile() IPMIProfile
- func LenovoProfile() IPMIProfile
- func QemuProfile() IPMIProfile
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PROFILES map[string]IPMIProfile = map[string]IPMIProfile{ types.OEM_NAME_INSPUR: InspurProfile(), types.OEM_NAME_LENOVO: LenovoProfile(), types.OEM_NAME_HP: HpProfile(), types.OEM_NAME_HUAWEI: HuaweiProfile(), types.OEM_NAME_FOXCONN: FoxconnProfile(), types.OEM_NAME_QEMU: QemuProfile(), types.OEM_NAME_H3C: H3CProfile(), } )
Functions ¶
func GetLanChannel ¶
func GetLanChannel(sysinfo *types.SSystemInfo) []int
func GetRootId ¶
func GetRootId(sysinfo *types.SSystemInfo) int
func GetRootName ¶
func GetRootName(sysinfo *types.SSystemInfo) string
func IsStrongPass ¶
func IsStrongPass(sysinfo *types.SSystemInfo) bool
Types ¶
type IPMIProfile ¶
func DefaultProfile ¶
func DefaultProfile() IPMIProfile
func FoxconnProfile ¶
func FoxconnProfile() IPMIProfile
func GetProfile ¶
func GetProfile(sysinfo *types.SSystemInfo) IPMIProfile
func H3CProfile ¶
func H3CProfile() IPMIProfile
func HpProfile ¶
func HpProfile() IPMIProfile
func HuaweiProfile ¶
func HuaweiProfile() IPMIProfile
func InspurProfile ¶
func InspurProfile() IPMIProfile
func LenovoProfile ¶
func LenovoProfile() IPMIProfile
func QemuProfile ¶
func QemuProfile() IPMIProfile
Click to show internal directories.
Click to hide internal directories.