package deletion
import "k8s.io/kubernetes/pkg/controller/namespace/deletion"
Index ¶
Types ¶
type NamespacedResourcesDeleterInterface ¶
NamespacedResourcesDeleterInterface is the interface to delete a namespace with all resources in it.
func NewNamespacedResourcesDeleter ¶
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 ¶
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 ¶
func (e *ResourcesRemainingError) Error() string
Source Files ¶
namespaced_resources_deleter.go
- Version
- v1.16.0-beta.1
- Published
- Aug 20, 2019
- Platform
- js/wasm
- Imports
- 15 packages
- Last checked
- 4 minutes ago –
Tools for package owners.