Documentation
¶
Index ¶
- func NewContextCommand(settings *environment.Settings) *cobra.Command
- func NewContextDeleteCommand(settings *environment.Settings) *cobra.Command
- func NewContextListCommand(settings *environment.Settings) *cobra.Command
- func NewContextSetCommand(settings *environment.Settings) *cobra.Command
- func NewContextUseCommand(settings *environment.Settings) *cobra.Command
- func NewContextViewCommand(settings *environment.Settings) *cobra.Command
- type DeleteCommand
- type ListCommand
- type SetCommand
- type UseCommand
- type ViewCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContextCommand ¶
func NewContextCommand(settings *environment.Settings) *cobra.Command
NewContextCommand creates a new "fabric context" command
func NewContextDeleteCommand ¶
func NewContextDeleteCommand(settings *environment.Settings) *cobra.Command
NewContextDeleteCommand creates a new "fabric context delete" command
func NewContextListCommand ¶
func NewContextListCommand(settings *environment.Settings) *cobra.Command
NewContextListCommand creates a new "fabric context list" command
func NewContextSetCommand ¶
func NewContextSetCommand(settings *environment.Settings) *cobra.Command
NewContextSetCommand creates a new "fabric context set" command
func NewContextUseCommand ¶
func NewContextUseCommand(settings *environment.Settings) *cobra.Command
NewContextUseCommand creates a new "fabric context use" command
func NewContextViewCommand ¶
func NewContextViewCommand(settings *environment.Settings) *cobra.Command
NewContextViewCommand creates a new "fabric context view" command
Types ¶
type DeleteCommand ¶
DeleteCommand implements the delete context command
func (*DeleteCommand) Validate ¶
func (c *DeleteCommand) Validate() error
Validate checks the required parameters for run
type ListCommand ¶
ListCommand implements the list context command
type SetCommand ¶
type SetCommand struct { common.Command Name string Context *environment.Context }
SetCommand implements the set context command
func (*SetCommand) Validate ¶
func (c *SetCommand) Validate() error
Validate checks the required parameters for run
type UseCommand ¶
UseCommand implements the use context command
func (*UseCommand) Validate ¶
func (c *UseCommand) Validate() error
Validate checks the required parameters for run
type ViewCommand ¶
ViewCommand implements the current command