get

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(f util.Factory, streams genericiooptions.IOStreams) *cobra.Command

Types

type Options

type Options struct {
	genericiooptions.IOStreams

	Namespace     string
	AllNamespaces bool

	ChunkSize     int64
	LabelSelector string

	Revision   int64
	PrintFlags *util.PrintFlags
}

func NewOptions

func NewOptions(streams genericiooptions.IOStreams) *Options

func (*Options) Complete

func (o *Options) Complete(f util.Factory) error

Complete takes the command arguments and factory and infers any remaining options.

func (*Options) Run

func (o *Options) Run(ctx context.Context, f util.Factory, args []string) (err error)

Run performs the get operation.

func (*Options) Validate

func (o *Options) Validate() error

Validate checks the set of flags provided by the user.

Jump to

Keyboard shortcuts

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