Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AnnDynamicallyProvisioned is added to a PV that is dynamically provisioned by kubernetes // Because the annotation is defined only at k8s.io/kubernetes, copying the content instead of vendoring // https://github.com/kubernetes/kubernetes/blob/v1.21.0/pkg/controller/volume/persistentvolume/util/util.go#L65 AnnDynamicallyProvisioned = "pv.kubernetes.io/provisioned-by" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deletion ¶
type Deletion struct {
// contains filtered or unexported fields
}
func New ¶
func New(seedClient ctrlruntimeclient.Client, userClusterClientGetter func() (ctrlruntimeclient.Client, error), etcdBackupRestoreController bool) *Deletion
func (*Deletion) CleanupCluster ¶
func (d *Deletion) CleanupCluster(ctx context.Context, log *zap.SugaredLogger, cluster *kubermaticv1.Cluster) error
CleanupCluster is responsible for cleaning up a cluster.
Click to show internal directories.
Click to hide internal directories.