workflows

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: MIT Imports: 13 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 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, environmentName string, writer io.Writer) Executor

NewEnvironmentViewer 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