Documentation ¶
Overview ¶
Package diagnostic provides a test suite which gathers OpenShift cluster information.
Index ¶
- func GetCniPlugins() (out map[string][]interface{})
- func GetCsiDriver() (out map[string]interface{})
- func GetHwInfoAllNodes() (out map[string]NodeHwInfo)
- func GetNodeJSON() (out map[string]interface{})
- func GetVersionK8s() (out string)
- func GetVersionOcClient() (out string)
- func GetVersionOcp() (out string)
- type NodeHwInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCniPlugins ¶
func GetCniPlugins() (out map[string][]interface{})
GetCniPlugins gets a json representation of the CNI plugins installed in each nodes
func GetCsiDriver ¶
func GetCsiDriver() (out map[string]interface{})
GetCsiDriver Gets the CSI driver list
func GetHwInfoAllNodes ¶
func GetHwInfoAllNodes() (out map[string]NodeHwInfo)
GetHwInfoAllNodes gets the Hardware information for each nodes
func GetNodeJSON ¶
func GetNodeJSON() (out map[string]interface{})
GetNodeJSON gets the nodes summary in JSON (similar to: oc get nodes -json)
func GetVersionK8s ¶
func GetVersionK8s() (out string)
func GetVersionOcClient ¶
func GetVersionOcClient() (out string)
func GetVersionOcp ¶
func GetVersionOcp() (out string)
Types ¶
type NodeHwInfo ¶
type NodeHwInfo struct { Lscpu interface{} IPconfig interface{} Lsblk interface{} Lspci []string }
NodeHwInfo node HW info
Click to show internal directories.
Click to hide internal directories.