Documentation ¶
Index ¶
- func NewCleanCommand(action ActionInterface) urfave.Command
- func NewConnectCommand(action ActionInterface, ch chan os.Signal) urfave.Command
- func NewExchangeCommand(action ActionInterface, ch chan os.Signal) urfave.Command
- func NewMeshCommand(action ActionInterface, ch chan os.Signal) urfave.Command
- func NewPreviewCommand(action ActionInterface, ch chan os.Signal) urfave.Command
- type Action
- func (action *Action) Clean() error
- func (action *Action) Connect(ch chan os.Signal) error
- func (action *Action) Exchange(resourceName string, ch chan os.Signal) error
- func (action *Action) Mesh(resourceName string, ch chan os.Signal) error
- func (action *Action) Preview(serviceName string, ch chan os.Signal) error
- type ActionInterface
- type ResourceToClean
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCleanCommand ¶ added in v0.2.3
func NewCleanCommand(action ActionInterface) urfave.Command
NewCleanCommand return new connect command
func NewConnectCommand ¶ added in v0.2.3
func NewConnectCommand(action ActionInterface, ch chan os.Signal) urfave.Command
NewConnectCommand return new connect command
func NewExchangeCommand ¶ added in v0.2.3
func NewExchangeCommand(action ActionInterface, ch chan os.Signal) urfave.Command
NewExchangeCommand return new exchange command
func NewMeshCommand ¶ added in v0.2.3
func NewMeshCommand(action ActionInterface, ch chan os.Signal) urfave.Command
NewMeshCommand return new mesh command
func NewPreviewCommand ¶ added in v0.3.0
func NewPreviewCommand(action ActionInterface, ch chan os.Signal) urfave.Command
NewPreviewCommand return new preview command
Types ¶
type Action ¶
type Action struct{}
Action cmd action
type ActionInterface ¶
type ActionInterface interface { Connect(ch chan os.Signal) error Preview(serviceName string, ch chan os.Signal) error Exchange(resourceName string, ch chan os.Signal) error Mesh(deploymentName string, ch chan os.Signal) error Clean() error }
ActionInterface all action defined
Click to show internal directories.
Click to hide internal directories.