get

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdGet

func NewCmdGet(streams options.IOStreams) *cobra.Command

func ValidArgsFunction

func ValidArgsFunction(o *GetOptions) func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Types

type GetOptions

type GetOptions struct {
	PrintFlags *printer.PrintFlags

	options.IOStreams
	LabelSelector string
	FieldSelector string
	Watch         bool
	// contains filtered or unexported fields
}

func NewGetOptions

func NewGetOptions(streams options.IOStreams) *GetOptions

func (*GetOptions) Complete

func (l *GetOptions) Complete(opts *options.CliOptions) error

func (*GetOptions) RunGet

func (l *GetOptions) RunGet() error

func (*GetOptions) ValidateArgs

func (l *GetOptions) ValidateArgs(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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