Skip to main content

lib/k8s/api/v1/clusterApi

Index

Functions

FunctionDescription
deleteCluster-
getClusterDefaultNamespacegetClusterDefaultNamespace gives the default namespace for the given cluster.
parseKubeConfigparseKubeConfig sends call to backend to parse kubeconfig and send back the parsed clusters and contexts.
renameClusterrenameCluster sends call to backend to update a field in kubeconfig which is the custom name of the cluster used by the user.
setCluster-
testAuthTest authentication for the given cluster. Will throw an error if the user is not authenticated.
testClusterHealthChecks cluster health Will throw an error if the cluster is not healthy.