diagnostics

package
v0.0.0-...-1b94eda Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package diagnostic provides a test suite which gathers OpenShift cluster information.

Index

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

Jump to

Keyboard shortcuts

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