k8s

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesInfo

type KubernetesInfo struct {
	CurrentContext   string
	Version          string
	NodesCount       uint64
	NamespacesCount  uint64
	DeploymentsCount uint64
	PodsCount        uint64
	ServicesCount    uint64
	IngressesCount   uint64
	PVsCount         uint64
	CRI              string
	CNI              string
	CSI              string
}

func GetKubernetesInfo

func GetKubernetesInfo(ctx context.Context) (k KubernetesInfo)

Jump to

Keyboard shortcuts

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