Skip to main content

Function: renameCluster()

function renameCluster(
cluster: string,
newClusterName: string,
source: string): Promise<any>

renameCluster sends call to backend to update a field in kubeconfig which is the custom name of the cluster used by the user.

Parameters

ParameterTypeDescription
clusterstring
newClusterNamestring-
sourcestring-

Returns

Promise<any>

Defined in

src/lib/k8s/api/v1/clusterApi.ts:138