version

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterVersion

type ClusterVersion struct {
	// kubernetesVersion describes the version of the Kubernetes API Server, Controller Manager, Scheduler and Proxy.
	KubernetesVersion string `json:"kubernetesVersion"`
	// KubeletVersions is a map with a version number linked to the amount of kubelets running that version in the cluster
	KubeletVersions map[string]uint16 `json:"kubeletVersions"`
}

func GetClusterVersionDetail

func GetClusterVersionDetail(cli *kubernetes.Clientset) (*ClusterVersion, error)

Jump to

Keyboard shortcuts

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