Documentation
¶
Index ¶
- func AddInstanceFlags(cmd *cobra.Command, opts *InstanceOptions)
- func IsInstanceAdded(cfg config.Config, host string) (bool, error)
- func New(f *cmdutil.Factory) *cobra.Command
- func NewAddCmd(f *cmdutil.Factory, runF func(*AddOptions) error) *cobra.Command
- func NewEditCmd(f *cmdutil.Factory, runF func(*EditOptions) error) *cobra.Command
- func NewListCmd(f *cmdutil.Factory, runF func(*ListOptions) error) *cobra.Command
- func NewRemoveCmd(f *cmdutil.Factory, runF func(*RemoveOptions) error) *cobra.Command
- func NewSetDefaultCmd(f *cmdutil.Factory, runF func(*SetDefaultOptions) error) *cobra.Command
- func RunAdd(opts *AddOptions) error
- func RunRemove(opts *RemoveOptions) error
- type AddOptions
- type EditOptions
- type InstanceOptions
- type ListOptions
- type RemoveOptions
- type SetDefaultOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInstanceFlags ¶
func AddInstanceFlags(cmd *cobra.Command, opts *InstanceOptions)
AddInstanceFlags adds common instance parameters, shared between commands.
func NewEditCmd ¶
func NewListCmd ¶
func NewRemoveCmd ¶
func NewSetDefaultCmd ¶
func RunAdd ¶
func RunAdd(opts *AddOptions) error
func RunRemove ¶
func RunRemove(opts *RemoveOptions) error
Types ¶
type AddOptions ¶
type EditOptions ¶
type InstanceOptions ¶
type ListOptions ¶
type RemoveOptions ¶
Click to show internal directories.
Click to hide internal directories.