Interface: ClusterDeleteHandler
Defined in: redux/clusterProviderSlice.ts:74
A plugin's claim on the Delete action of the clusters it manages.
For a cluster that owns returns true for, the Delete item in the Home page's
cluster action menu opens the plugin's dialog named dialog (registered with
registerClusterProviderDialog) instead of removing the cluster from the
kubeconfig.
Properties
dialog
dialog: string;
Defined in: redux/clusterProviderSlice.ts:81
The openConfirmDialog value that opens the plugin's delete dialog. It must not be empty or
deleteDynamic (BUILT_IN_DELETE_DIALOG), the name of Headlamp's own confirmation.
owns
owns: (cluster: any) => boolean;
Defined in: redux/clusterProviderSlice.ts:76
Whether the plugin handles Delete for this cluster entry.
Parameters
| Parameter | Type |
|---|---|
cluster | any |
Returns
boolean