Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deleter ¶
type Deleter interface { // Delete walks all resources in the visitor and attempts to delete them. // Optionally, it waits for until the deletion of the resources is complete // if the Deleter supports waiting. Delete(v resource.Visitor) error }
Deleter is a resource deleter.
func NewDeleter ¶
func NewDeleter(streams genericclioptions.IOStreams, client dynamic.Interface, printer printers.ContextPrinter, dryRun bool) Deleter
NewDeleter creates a new resource deleter.
func NewSilentDeleter ¶ added in v0.0.2
func NewSilentDeleter(streams genericclioptions.IOStreams, client dynamic.Interface, dryRun bool) Deleter
NewSilentDeleter creates a new resource deleter that does not print deleted objects.
type FakeDeleter ¶
func NewFakeDeleter ¶
func NewFakeDeleter() *FakeDeleter
Click to show internal directories.
Click to hide internal directories.