utils

package
v0.0.0-...-beef95b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StackDeletionFinalizerName = "stack.cloudformation.awsctrl.io/deletion"
)

Functions

func CreateCFNStack

func CreateCFNStack(awsclient aws.AWS, instance *cloudformationv1alpha1.Stack) (*cfn.CreateStackOutput, error)

CreateCFNStack will create the cloudformation stack

func DeleteCFNStack

func DeleteCFNStack(awsclient aws.AWS, instance *cloudformationv1alpha1.Stack) error

DeleteCFNStack will delete an existing cloudformation stack

func DescribeCFNStacks

func DescribeCFNStacks(awsclient aws.AWS, instance *cloudformationv1alpha1.Stack) (*cfn.DescribeStacksOutput, error)

DescribeCFNStacks will describe all stack with name

func Name

func Name(name, namespace string) string

Name generates the name for the CFN Templates

func TemplateVersionChanged

func TemplateVersionChanged(instance *cloudformationv1alpha1.Stack) bool

TemplateVersionChange checks if the template has changed and returns true if it has

func UpdateCFNStack

func UpdateCFNStack(awsclient aws.AWS, instance *cloudformationv1alpha1.Stack) error

UpdateCFNStack will update an existing cloudformation stack

Types

This section is empty.

Jump to

Keyboard shortcuts

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