finalizer

package
Version: v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0, Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRClientGetter

type CRClientGetter interface {
	// GetCustomResourceListerCollectionDeleter gets the ListerCollectionDeleter for the given CRD
	// UID.
	GetCustomResourceListerCollectionDeleter(crd *apiextensions.CustomResourceDefinition) (ListerCollectionDeleter, error)
}

CRClientGetter knows how to get a ListerCollectionDeleter for a given CRD UID.

type CRDFinalizer

type CRDFinalizer struct {
	// contains filtered or unexported fields
}

CRDFinalizer is a controller that finalizes the CRD by deleting all the CRs associated with it.

func NewCRDFinalizer

func NewCRDFinalizer(
	crdInformer informers.CustomResourceDefinitionInformer,
	crdClient client.CustomResourceDefinitionsGetter,
	crClientGetter CRClientGetter,
) *CRDFinalizer

NewCRDFinalizer creates a new CRDFinalizer.

func (*CRDFinalizer) Run

func (c *CRDFinalizer) Run(workers int, stopCh <-chan struct{})

type ListerCollectionDeleter

type ListerCollectionDeleter interface {
	rest.Lister
	rest.CollectionDeleter
}

ListerCollectionDeleter combines rest.Lister and rest.CollectionDeleter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL