commands

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotEmptyStack = &cloudformation.DescribeStacksOutput{
	Stacks: []*cloudformation.Stack{
		{
			StackName:   aws.String("TestStack"),
			StackStatus: aws.String("CREATE_COMPLETE"),
		},
	},
}

NotEmptyStack test structs which defines a non-empty stack.

Functions

func NewCreate

func NewCreate(appName string) *commander.CommandWrapper

NewCreate Creates a new Create command.

func NewDelete

func NewDelete(appName string) *commander.CommandWrapper

NewDelete Creates a new Delete command.

func NewDeleteApp

func NewDeleteApp(appName string) *commander.CommandWrapper

NewDeleteApp Creates a new DeleteApp command.

func NewPush

func NewPush(appName string) *commander.CommandWrapper

NewPush Creates a new Push command.

func NewStatus

func NewStatus(appName string) *commander.CommandWrapper

NewStatus Creates a new Status command.

Types

type CDClient

type CDClient struct {
	Client codedeployiface.CodeDeployAPI
}

CDClient abstraction for cloudFormation client.

type CFClient

type CFClient struct {
	Client cloudformationiface.CloudFormationAPI
}

CFClient abstraction for cloudFormation client.

type Create

type Create struct {
}

Create command.

func (*Create) Execute

func (c *Create) Execute(opts *commander.CommandHelper)

Execute defines what this command does.

type Delete

type Delete struct {
}

Delete command.

func (*Delete) Execute

func (c *Delete) Execute(opts *commander.CommandHelper)

Execute defines what this command does.

type DeleteApp

type DeleteApp struct {
}

DeleteApp command.

func (*DeleteApp) Execute

func (c *DeleteApp) Execute(opts *commander.CommandHelper)

Execute defines what this command does.

type IAMClient

type IAMClient struct {
	Client iamiface.IAMAPI
}

IAMClient abstraction for cloudFormation client.

type Push

type Push struct {
}

Push command.

func (*Push) Execute

func (c *Push) Execute(opts *commander.CommandHelper)

Execute defines what this command does.

type ResourceStatus added in v1.0.1

type ResourceStatus struct {
	Status     string
	PhysicalId string
	LogicalId  string
	Type       string
}

func (ResourceStatus) String added in v1.0.1

func (r ResourceStatus) String() string

type Status

type Status struct {
}

Status command.

func (*Status) Execute

func (c *Status) Execute(opts *commander.CommandHelper)

Execute defines what this command does.

Jump to

Keyboard shortcuts

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