Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdStash ¶ added in v0.0.15
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
Click to show internal directories.
Click to hide internal directories.