@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
8 lines (7 loc) • 429 B
TypeScript
/**
* deleteClusterKubeconfig deletes the kubeconfig for a stateless cluster from indexedDB
* @param clusterName - The name of the cluster
* @param clusterID The ID for a cluster, composed of the kubeconfig path and cluster name
* @returns A promise that resolves with the kubeconfig, or null if not found.
*/
export declare function deleteClusterKubeconfig(clusterName: string, clusterID?: string): Promise<string | null>;