stashcmd

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdStash added in v0.0.15

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

Types

type StashFlags added in v0.0.15

type StashFlags struct {
}

func NewStashFlags added in v0.0.15

func NewStashFlags() *StashFlags

The defaults are determined here

func (*StashFlags) AddFlags added in v0.0.15

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

AddFlags add flags tp the command

func (*StashFlags) ToOptions added in v0.0.15

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

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

type StashOptions added in v0.0.15

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

func (*StashOptions) Run added in v0.0.15

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

func (*StashOptions) Validate added in v0.0.15

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

Jump to

Keyboard shortcuts

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