stacks

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(svc cfnInterface, name string, ctx CreateStackContext) error

func Delete

func Delete(svc cfnInterface, name string) error

func FindAll

func FindAll(svc cfnInterface) (stacks []*cloudformation.Stack, err error)

func FindAllActive

func FindAllActive(svc cfnInterface) (stacks []*cloudformation.Stack, err error)

func FindByName

func FindByName(svc cfnInterface, stackName string) (stacks []*cloudformation.Stack, err error)

func FormatStackEvent

func FormatStackEvent(event *cloudformation.StackEvent) string

func FormatStackStatus

func FormatStackStatus(s string) string

func GetError added in v1.0.1

func GetError(svc cfnInterface, name string) error

func IsNoUpdateErr added in v1.1.4

func IsNoUpdateErr(err error) bool

func Outputs

func Outputs(svc cfnInterface, name string) (map[string]string, error)

func Parameters added in v1.0.1

func Parameters(svc cfnInterface, name string) (map[string]string, error)

func Status added in v1.0.1

func Status(svc cfnInterface, name string) (string, error)

func Update

func Update(svc cfnInterface, name string, ctx UpdateStackContext) error

func Watch

func Watch(cfn cfnInterface, stackName string, f func(event *cloudformation.StackEvent)) error

Types

type CreateStackContext

type CreateStackContext struct {
	Params          map[string]string
	Body            string
	DisableRollback bool
}

type UpdateStackContext

type UpdateStackContext struct {
	Params map[string]string
	Body   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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