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
| Parameter | Type | Description |
|---|---|---|
cluster | string | |
newClusterName | string | - |
source | string | - |
Returns
Promise<any>