import "k8s.io/kubernetes/pkg/controller/namespace/deletion"
namespaced_resources_deleter.go status_condition_utils.go
type NamespaceConditionUpdater interface { ProcessDiscoverResourcesErr(e error) ProcessGroupVersionErr(e error) ProcessDeleteContentErr(e error) Update(*v1.Namespace) bool }
NamespaceConditionUpdater interface that translates namespace deleter errors into namespace status conditions.
NamespacedResourcesDeleterInterface is the interface to delete a namespace with all resources in it.
func NewNamespacedResourcesDeleter(nsClient v1clientset.NamespaceInterface, metadataClient metadata.Interface, podsGetter v1clientset.PodsGetter, discoverResourcesFn func() ([]*metav1.APIResourceList, error), finalizerToken v1.FinalizerName) NamespacedResourcesDeleterInterface
NewNamespacedResourcesDeleter returns a new NamespacedResourcesDeleter.
ResourcesRemainingError is used to inform the caller that all resources are not yet fully removed from the namespace.
func (e *ResourcesRemainingError) Error() string
Package deletion imports 18 packages (graph) and is imported by 10 packages. Updated 2020-08-10. Refresh now. Tools for package owners.