Documentation ¶
Index ¶
- func Create(svc cfnInterface, name string, ctx CreateStackContext) error
- func Delete(svc cfnInterface, name string) error
- func FindAll(svc cfnInterface) (stacks []*cloudformation.Stack, err error)
- func FindAllActive(svc cfnInterface) (stacks []*cloudformation.Stack, err error)
- func FindByName(svc cfnInterface, stackName string) (stacks []*cloudformation.Stack, err error)
- func FormatStackEvent(event *cloudformation.StackEvent) string
- func FormatStackStatus(s string) string
- func GetError(svc cfnInterface, name string) error
- func IsNoUpdateErr(err error) bool
- func Outputs(svc cfnInterface, name string) (map[string]string, error)
- func Parameters(svc cfnInterface, name string) (map[string]string, error)
- func Status(svc cfnInterface, name string) (string, error)
- func Update(svc cfnInterface, name string, ctx UpdateStackContext) error
- func Watch(cfn cfnInterface, stackName string, f func(event *cloudformation.StackEvent)) error
- type CreateStackContext
- type UpdateStackContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(svc cfnInterface, name string, ctx CreateStackContext) 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 IsNoUpdateErr ¶ added in v1.1.4
func Parameters ¶ added in v1.0.1
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 UpdateStackContext ¶
Click to show internal directories.
Click to hide internal directories.