kubernetes: k8s.io/kubernetes/pkg/controller/namespace/deletion Index | Files

package deletion

import "k8s.io/kubernetes/pkg/controller/namespace/deletion"


Package Files


type NamespacedResourcesDeleterInterface Uses

type NamespacedResourcesDeleterInterface interface {
    Delete(nsName string) error

NamespacedResourcesDeleterInterface is the interface to delete a namespace with all resources in it.

func NewNamespacedResourcesDeleter Uses

func NewNamespacedResourcesDeleter(nsClient v1clientset.NamespaceInterface,
    metadataClient metadata.Interface, podsGetter v1clientset.PodsGetter,
    discoverResourcesFn func() ([]*metav1.APIResourceList, error),
    finalizerToken v1.FinalizerName, deleteNamespaceWhenDone bool) NamespacedResourcesDeleterInterface

NewNamespacedResourcesDeleter returns a new NamespacedResourcesDeleter.

type ResourcesRemainingError Uses

type ResourcesRemainingError struct {
    Estimate int64

ResourcesRemainingError is used to inform the caller that all resources are not yet fully removed from the namespace.

func (*ResourcesRemainingError) Error Uses

func (e *ResourcesRemainingError) Error() string

Package deletion imports 15 packages (graph) and is imported by 4 packages. Updated 2019-07-18. Refresh now. Tools for package owners.