cluster

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

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckClustersPresent

func CheckClustersPresent(clients []*clients.Settings) error

CheckClustersPresent can be used to check for the presence of specific clusters.

func GetClusterName

func GetClusterName(kubeconfigEnvVar string) (string, error)

GetClusterName extracts the cluster name from provided kubeconfig. It assumes the there's exactly 1 cluster.

func GetClusterVersion

func GetClusterVersion(apiClient *clients.Settings) (string, error)

GetClusterVersion can be used to get the Openshift version from the provided cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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