completion

package
v0.35.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(opts *options.CommonOptions) *cobra.Command

Types

type Cmd

type Cmd struct {
	// contains filtered or unexported fields
}

func (*Cmd) Run

func (x *Cmd) Run(ctx context.Context) error

type CmdOptions

type CmdOptions struct {
	*options.CommonOptions

	Shell string
}

func (*CmdOptions) Init

func (x *CmdOptions) Init(fs *pflag.FlagSet, opts *options.CommonOptions)

func (*CmdOptions) Validate

func (x *CmdOptions) Validate() error

Jump to

Keyboard shortcuts

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