Documentation ¶
Index ¶
- type Executor
- func NewConfigInitializer(ctx *common.Context, createEnvironment bool, listenPort int, ...) Executor
- func NewDatabaseLister(ctx *common.Context, writer io.Writer) Executor
- func NewDatabaseTerminator(ctx *common.Context, serviceName string, environmentName string) Executor
- func NewDatabaseUpserter(ctx *common.Context, environmentName string) Executor
- func NewEnvironmentLister(ctx *common.Context, writer io.Writer) Executor
- func NewEnvironmentLogViewer(ctx *common.Context, searchDuration time.Duration, follow bool, ...) Executor
- func NewEnvironmentTerminator(ctx *common.Context, environmentName string) Executor
- func NewEnvironmentUpserter(ctx *common.Context, environmentName string) Executor
- func NewEnvironmentViewer(ctx *common.Context, format string, environmentName string, writer io.Writer) Executor
- func NewPipelineLister(ctx *common.Context, writer io.Writer) Executor
- func NewPipelineLogViewer(ctx *common.Context, searchDuration time.Duration, follow bool, ...) Executor
- func NewPipelineTerminator(ctx *common.Context, serviceName string) Executor
- func NewPipelineUpserter(ctx *common.Context, tokenProvider func(bool) string) Executor
- func NewServiceDeployer(ctx *common.Context, environmentName string, tag string) Executor
- func NewServiceExecutor(ctx *common.Context, task common.Task) Executor
- func NewServiceLogViewer(ctx *common.Context, searchDuration time.Duration, follow bool, ...) 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 NewConfigInitializer ¶ added in v0.1.8
func NewConfigInitializer(ctx *common.Context, createEnvironment bool, listenPort int, forceOverwrite bool) Executor
NewConfigInitializer create a new mu.yml file
func NewDatabaseLister ¶ added in v0.1.12
NewDatabaseLister create a new workflow for listing databases
func NewDatabaseTerminator ¶ added in v0.1.12
func NewDatabaseTerminator(ctx *common.Context, serviceName string, environmentName string) Executor
NewDatabaseTerminator create a new workflow for terminating a database in an environment
func NewDatabaseUpserter ¶ added in v0.1.12
NewDatabaseUpserter create a new workflow for deploying a database in an environment
func NewEnvironmentLister ¶
NewEnvironmentLister create a new workflow for listing environments
func NewEnvironmentLogViewer ¶ added in v0.1.10
func NewEnvironmentLogViewer(ctx *common.Context, searchDuration time.Duration, follow bool, environmentName string, writer io.Writer, filter string) Executor
NewEnvironmentLogViewer create a new workflow for following logs 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 ¶
func NewEnvironmentViewer(ctx *common.Context, format string, environmentName string, writer io.Writer) Executor
NewEnvironmentViewer create a new workflow for showing an environment
func NewPipelineLister ¶ added in v0.1.5
NewPipelineLister create a new workflow for listing environments
func NewPipelineLogViewer ¶ added in v0.1.10
func NewPipelineLogViewer(ctx *common.Context, searchDuration time.Duration, follow bool, serviceName string, writer io.Writer, filter string) Executor
NewPipelineLogViewer create a new workflow for following logs for pipelines
func NewPipelineTerminator ¶ added in v0.1.5
NewPipelineTerminator create a new workflow for terminating a pipeline
func NewPipelineUpserter ¶ added in v0.1.5
NewPipelineUpserter create a new workflow for upserting a pipeline
func NewServiceDeployer ¶ added in v0.1.3
NewServiceDeployer create a new workflow for deploying a service in an environment
func NewServiceExecutor ¶ added in v0.1.13
NewServiceExecutor create a new workflow for executing a command in an environment
func NewServiceLogViewer ¶ added in v0.1.10
func NewServiceLogViewer(ctx *common.Context, searchDuration time.Duration, follow bool, environmentName string, serviceName string, writer io.Writer, filter string) Executor
NewServiceLogViewer create a new workflow for following logs for services
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
Source Files ¶
- config_init.go
- cwlogs_view.go
- database_common.go
- database_list.go
- database_terminate.go
- database_upsert.go
- environment_common.go
- environment_list.go
- environment_terminate.go
- environment_upsert.go
- environment_view.go
- executor.go
- log.go
- pipeline_common.go
- pipeline_list.go
- pipeline_terminate.go
- pipeline_upsert.go
- service_common.go
- service_deploy.go
- service_executor.go
- service_push.go
- service_undeploy.go
- service_view.go