clusterdeletion

package
v2.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

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, recorder record.EventRecorder, userClusterClientGetter func() (ctrlruntimeclient.Client, error)) *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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL