redfish

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CAST_SAME   = "CAST_SAME"
	CAST_SNAKE  = "CAST_SNAKE"
	CAST_CAMEL  = "CAST_CAMEL"
	CAST_LCAMEL = "CAST_LCAMEL"
	CAST_TAG    = "CAST_TAG"
)

Variables

This section is empty.

Functions

func BaseInfoField

func BaseInfoField() (tb *clitask.Table)

func BmcField

func BmcField() (tb *clitask.Table)

func CheckSwitchInfo

func CheckSwitchInfo() (tb *clitask.Table)

func CpuField

func CpuField() (tb *clitask.Table)

func DiskField

func DiskField() (tb *clitask.Table)

func FilterDisk

func FilterDisk(plt string) (out string)

func GofishBMCV1Collect

func GofishBMCV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishNetworkInterfaceV1Collect

func GofishNetworkInterfaceV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishNetworkV1Collect

func GofishNetworkV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishPowerControlV1Collect

func GofishPowerControlV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishPowerV1Collect

func GofishPowerV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishRedfishVersionV1Collect

func GofishRedfishVersionV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishbaseinfoV1Collect

func GofishbaseinfoV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishcpuV1Collect

func GofishcpuV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishdiskV1Collect

func GofishdiskV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func GofishmemV1Collect

func GofishmemV1Collect(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface, server *mygofish.HardCollect) (result *clitask.Table, err error)

func IPMIGetSNV1

func IPMIGetSNV1(remote *structs.L2DeviceRemoteInfo, taskConfig structs.L2NodemapTaskConfigInterface) (ipmiresult *clitask.Table, err error)

func InterfaceToList

func InterfaceToList(obj interface{}) (list []interface{})

func IpmiGetSn

func IpmiGetSn(remote *structs.L2DeviceRemoteInfo) (result string, err error)

func MemField

func MemField() (tb *clitask.Table)

func NetworkFiled

func NetworkFiled() (tb *clitask.Table)

func NetworkInterfaceField

func NetworkInterfaceField() (tb *clitask.Table)

func NormalGofishClient

func NormalGofishClient(remote *structs.L2DeviceRemoteInfo) *mygofish.HardCollect

Gofish🔗

func NormalRedfishClient

func NormalRedfishClient(remote *structs.L2DeviceRemoteInfo) (c *v2.Client, err error)

func PowerControlField

func PowerControlField() (tb *clitask.Table)

func PowerField

func PowerField() (tb *clitask.Table)

func RedfishBMCV1Collect

func RedfishBMCV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishBaseInfoV1Collect

func RedfishBaseInfoV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishCpuV1Collect

func RedfishCpuV1Collect(c *v2.Client) (*clitask.Table, error)

func RedfishDiskV1Collect

func RedfishDiskV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishMEMV1Collect

func RedfishMEMV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishNetWorkV1Collect

func RedfishNetWorkV1Collect(c *v2.Client) (*clitask.Table, error)

func RedfishNetworkV1Collect

func RedfishNetworkV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishPowerControlV1Collect

func RedfishPowerControlV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishPowerV1Collect

func RedfishPowerV1Collect(c *v2.Client) (result *clitask.Table, err error)

func RedfishVersionField

func RedfishVersionField() (tb *clitask.Table)

func RedfishVersionV1Collect

func RedfishVersionV1Collect(c *v2.Client) (*clitask.Table, error)

func RunSnmpTask

func RunSnmpTask(task *snmp.SnmpTask, remote *structs.L2DeviceRemoteInfo) (*clitask.Table, error)

func SNField

func SNField() (tb *clitask.Table)

func TableBuilder

func TableBuilder(data interface{}) (tb *clitask.Table, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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