cloudformation

package
v0.0.0-...-17b5b8b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsOutputNotFound

func IsOutputNotFound(err error) bool

IsOutputNotFound asserts outputNotFoundError.

func IsOutputsNotAccessible

func IsOutputsNotAccessible(err error) bool

IsOutputsNotAccessible asserts outputsNotAccessibleError.

func IsStackNotFound

func IsStackNotFound(err error) bool

IsStackNotFound asserts stackNotFoundError and stack not found errors from the upstream's API message.

FIXME: The validation error returned by the CloudFormation API doesn't make things easy to check, other than looking for the returned string. There's no constant in the AWS golang SDK for defining this string, it comes from the service.

func IsTooManyStacks

func IsTooManyStacks(err error) bool

IsTooManyStacks asserts tooManyStacksError.

Types

type CloudFormation

type CloudFormation struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*CloudFormation, error)

func (*CloudFormation) DescribeOutputsAndStatus

func (c *CloudFormation) DescribeOutputsAndStatus(stackName string) ([]*cloudformation.Output, string, error)

func (*CloudFormation) GetOutputValue

func (c *CloudFormation) GetOutputValue(outputs []*cloudformation.Output, key string) (string, error)

type Config

type Config struct {
	Client *cloudformation.CloudFormation
}

Jump to

Keyboard shortcuts

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