loadcmd

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdLoad added in v0.0.15

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

Types

type LoadFlags added in v0.0.15

type LoadFlags struct {
}

func NewLoadFlags added in v0.0.15

func NewLoadFlags() *LoadFlags

The defaults are determined here

func (*LoadFlags) AddFlags added in v0.0.15

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

AddFlags add flags tp the command

func (*LoadFlags) ToOptions added in v0.0.15

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

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

type LoadOptions added in v0.0.15

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

func (*LoadOptions) Run added in v0.0.15

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

func (*LoadOptions) Validate added in v0.0.15

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

Jump to

Keyboard shortcuts

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