apiextensions-apiserver: k8s.io/apiextensions-apiserver/pkg/controller/finalizer Index | Files

package finalizer

import "k8s.io/apiextensions-apiserver/pkg/controller/finalizer"

Index

Package Files

crd_finalizer.go

func OverlappingBuiltInResources Uses

func OverlappingBuiltInResources() map[schema.GroupResource]bool

OverlappingBuiltInResources returns the set of built-in group/resources that are persisted in storage paths that overlap with CRD storage paths, and should not be deleted by this controller if an associated CRD is deleted.

type CRClientGetter Uses

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 Uses

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 Uses

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

NewCRDFinalizer creates a new CRDFinalizer.

func (*CRDFinalizer) Run Uses

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

type ListerCollectionDeleter Uses

type ListerCollectionDeleter interface {
    rest.Lister
    rest.CollectionDeleter
}

ListerCollectionDeleter combines rest.Lister and rest.CollectionDeleter.

Package finalizer imports 20 packages (graph) and is imported by 1 packages. Updated 2019-09-18. Refresh now. Tools for package owners.