Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceConditionUpdater ¶ added in v1.16.0
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.
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
Click to show internal directories.
Click to hide internal directories.