lib/k8s/api/v1/clusterApi
Index
Functions
| Function | Description |
|---|---|
| deleteCluster | deleteCluster sends call to backend remove a cluster from the config. |
| getClusterDefaultNamespace | getClusterDefaultNamespace gives the default namespace for the given cluster. |
| parseKubeConfig | parseKubeConfig sends call to backend to parse kubeconfig and send back the parsed clusters and contexts. |
| renameCluster | renameCluster sends call to backend to update a field in kubeconfig which is the custom name of the cluster used by the user. |
| setCluster | - |
| testAuth | Test authentication for the given cluster. Will throw an error if the user is not authenticated. |
| testClusterHealth | Checks cluster health Will throw an error if the cluster is not healthy. |