deletion

package
v1.10.12-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespacedResourcesDeleterInterface

type NamespacedResourcesDeleterInterface interface {
	Delete(nsName string) error
}

Interface to delete a namespace with all resources in it.

func NewNamespacedResourcesDeleter

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL