Documentation ¶
Index ¶
- type Executor
- func NewEnvironmentLister(ctx *common.Context, writer io.Writer) Executor
- func NewEnvironmentTerminator(ctx *common.Context, environmentName string) Executor
- func NewEnvironmentUpserter(ctx *common.Context, environmentName string) Executor
- func NewEnvironmentViewer(ctx *common.Context, environmentName string, writer io.Writer) Executor
- func NewServiceDeployer(ctx *common.Context, environmentName string, tag string) Executor
- func NewServicePusher(ctx *common.Context, tag string, dockerWriter io.Writer) Executor
- func NewServiceUndeployer(ctx *common.Context, serviceName string, environmentName string) Executor
- func NewServiceViewer(ctx *common.Context, serviceName string, writer io.Writer) Executor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor func() error
Executor define contract for the steps of a workflow
func NewEnvironmentLister ¶
NewEnvironmentLister create a new workflow for listing environments
func NewEnvironmentTerminator ¶
NewEnvironmentTerminator create a new workflow for terminating an environment
func NewEnvironmentUpserter ¶
NewEnvironmentUpserter create a new workflow for upserting an environment
func NewEnvironmentViewer ¶
NewEnvironmentViewer create a new workflow for showing an environment
func NewServiceDeployer ¶ added in v0.1.3
NewServiceDeployer create a new workflow for deploying a service in an environment
func NewServicePusher ¶ added in v0.1.3
NewServicePusher create a new workflow for pushing a service to a repo
func NewServiceUndeployer ¶ added in v0.1.3
NewServiceUndeployer create a new workflow for undeploying a service in an environment
Click to show internal directories.
Click to hide internal directories.