cloudformation

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(credProvider provider.CredProvider, region string) (cloudFormationInternal, error)

Types

type CloudFormation

type CloudFormation struct {
	Connect func() (cloudFormationInternal, error)
	// contains filtered or unexported fields
}

func (*CloudFormation) CreateStack

func (this *CloudFormation) CreateStack(name, templateBody string, params []*Parameter) (stackID string, err error)

func (*CloudFormation) DeleteStack

func (this *CloudFormation) DeleteStack(stackName string) error

func (*CloudFormation) DescribeStack

func (this *CloudFormation) DescribeStack(stackName string) (*Stack, error)

func (*CloudFormation) UpdateStack

func (this *CloudFormation) UpdateStack(name, templateBody string, params []*Parameter) (stackID string, err error)

type Parameter

type Parameter struct {
	*cloudformation.Parameter
}

func NewParameter

func NewParameter(key, value string) *Parameter

type Provider

type Provider interface {
	CreateStack(string, string, []*Parameter) (stackID string, err error)
	UpdateStack(string, string, []*Parameter) (stackID string, err error)
	DeleteStack(stackName string) error
	DescribeStack(stackName string) (*Stack, error)
}

func NewCloudFormation

func NewCloudFormation(credProvider provider.CredProvider, region string) (Provider, error)

type Stack

type Stack struct {
	*cloudformation.Stack
}

func NewStack

func NewStack() *Stack

Jump to

Keyboard shortcuts

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