cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdPrune

func NewCmdPrune(streams genericclioptions.IOStreams) *cobra.Command

Types

type Options

type Options struct {
	GracePeriod   int
	ForceDeletion bool

	LabelSelector string
	FieldSelector string
	AllNamespaces bool
	Yes           bool

	DryRunStrategy cmdutil.DryRunStrategy
	DryRunVerifier *resource.DryRunVerifier
	Quiet          bool
	// contains filtered or unexported fields
}

func NewPruneOptions

func NewPruneOptions(streams genericclioptions.IOStreams) *Options

func (*Options) Complete

func (o *Options) Complete(f cmdutil.Factory, c *cobra.Command, args []string) error

func (*Options) PrintObj

func (o *Options) PrintObj(info *resource.Info)

func (*Options) Run

func (o *Options) Run(args []string) error

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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