Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DeleteCommand ¶
type DeleteCommand struct {
// contains filtered or unexported fields
}
DeleteCommand contains data input from user for delete sub-command
func (*DeleteCommand) Cmd ¶
func (c *DeleteCommand) Cmd() *cobra.Command
Cmd returns cobra command object
func (*DeleteCommand) Complete ¶
func (c *DeleteCommand) Complete(_ *params.Params, _ *genericclioptions.IOStreams, args []string) error
Complete fills in data provided by user
func (*DeleteCommand) Run ¶
func (c *DeleteCommand) Run(p *params.Params, io *genericclioptions.IOStreams) error
Run executes delete sub-command logic
func (*DeleteCommand) Validate ¶
func (c *DeleteCommand) Validate() error
Validate validates data input by user
type ListCommand ¶
type ListCommand struct {
// contains filtered or unexported fields
}
ListCommand contains data input from user for list sub-command
func (*ListCommand) Cmd ¶
func (c *ListCommand) Cmd() *cobra.Command
Cmd returns cobra command object
func (*ListCommand) Complete ¶
func (c *ListCommand) Complete(_ *params.Params, _ *genericclioptions.IOStreams, _ []string) error
Complete fills in data provided by user
func (*ListCommand) Run ¶
func (c *ListCommand) Run(p *params.Params, io *genericclioptions.IOStreams) error
Run executes list sub-command logic
func (*ListCommand) Validate ¶
func (c *ListCommand) Validate() error
Validate validates data input by user
Click to show internal directories.
Click to hide internal directories.