workflows

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

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 NewEnvironmentLister

func NewEnvironmentLister(ctx *common.Context, writer io.Writer) Executor

NewEnvironmentLister create a new workflow for listing environments

func NewEnvironmentTerminator

func NewEnvironmentTerminator(ctx *common.Context, environmentName string) Executor

NewEnvironmentTerminator create a new workflow for terminating an environment

func NewEnvironmentUpserter

func NewEnvironmentUpserter(ctx *common.Context, environmentName string) Executor

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

func NewPipelineLister(ctx *common.Context, writer io.Writer) Executor

NewPipelineLister create a new workflow for listing environments

func NewPipelineTerminator added in v0.1.5

func NewPipelineTerminator(ctx *common.Context, serviceName string) Executor

NewPipelineTerminator create a new workflow for terminating a pipeline

func NewPipelineUpserter added in v0.1.5

func NewPipelineUpserter(ctx *common.Context, tokenProvider func(bool) string) Executor

NewPipelineUpserter create a new workflow for upserting a pipeline

func NewServiceDeployer added in v0.1.3

func NewServiceDeployer(ctx *common.Context, environmentName string, tag string) Executor

NewServiceDeployer create a new workflow for deploying a service in an environment

func NewServicePusher added in v0.1.3

func NewServicePusher(ctx *common.Context, tag string, dockerWriter io.Writer) Executor

NewServicePusher create a new workflow for pushing a service to a repo

func NewServiceUndeployer added in v0.1.3

func NewServiceUndeployer(ctx *common.Context, serviceName string, environmentName string) Executor

NewServiceUndeployer create a new workflow for undeploying a service in an environment

func NewServiceViewer added in v0.1.3

func NewServiceViewer(ctx *common.Context, serviceName string, writer io.Writer) Executor

NewServiceViewer create a new workflow for showing an environment

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL