cmd

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdReap

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

Types

type Options

type Options struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(ioStreams genericclioptions.IOStreams) *Options

func (*Options) Complete

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

func (*Options) Errorf

func (o *Options) Errorf(format string, a ...interface{})

func (*Options) Infof

func (o *Options) Infof(format string, a ...interface{})

func (*Options) Run

func (o *Options) Run(ctx context.Context, f cmdutil.Factory) error

func (*Options) Validate

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

Jump to

Keyboard shortcuts

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