commands

package
v2.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 4, 2018 License: MIT Imports: 21 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: cloudformation.StackStatusCreateComplete,
		},
	},
}

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.

func NewUpdate

func NewUpdate(appName string) *commander.CommandWrapper

NewUpdate Updates a new Update 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

type ResourceStatus struct {
	// Status is the status of the resource
	Status cloudformation.ResourceStatus
	// PhysicalId of the resource
	PhysicalID string
	// LogicalId of the resource
	LogicalID string
	// Type of the resource
	Type string
}

ResourceStatus defines a resource.

func (ResourceStatus) String

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.

type Update

type Update struct {
}

Update command.

func (*Update) Execute

func (c *Update) 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