listcmd

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdList added in v0.0.15

func NewCmdList(f util.Factory, streams *genericclioptions.IOStreams) *cobra.Command

Types

type ListFlags added in v0.0.15

type ListFlags struct {
}

func NewListFlags added in v0.0.15

func NewListFlags() *ListFlags

The defaults are determined here

func (*ListFlags) AddFlags added in v0.0.15

func (r *ListFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags tp the command

func (*ListFlags) ToOptions added in v0.0.15

func (r *ListFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*ListOptions, error)

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type ListOptions added in v0.0.15

type ListOptions struct {
	Factory util.Factory
	Streams *genericclioptions.IOStreams
}

func (*ListOptions) Run added in v0.0.15

func (r *ListOptions) Run(ctx context.Context, args []string) error

func (*ListOptions) Validate added in v0.0.15

func (r *ListOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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