cloudformation

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCompletedState

func IsCompletedState(status cf.StackStatus) bool

IsCompletedState validates that operation is complete for a create or update.

func IsErrorNotFound

func IsErrorNotFound(err error) bool

IsErrorNotFound - not found error

Types

type Client

type Client interface {
	CreateStack(stackName *string, templateBody *string, parameters map[string]string) (stackID *string, err error)
	GetStack(stackID *string) (stack *cf.Stack, err error)
	DeleteStack(stackID *string) error
}

Client interface to perform CloudFormation operations

func NewClient

func NewClient(config *aws.Config) Client

NewClient return new instance of the crossplane client for a specific AWS configuration

type CloudFormationClient

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

CloudFormationClient crossplane eks client

func (*CloudFormationClient) CreateStack

func (c *CloudFormationClient) CreateStack(stackName *string, templateBody *string, parameters map[string]string) (stackID *string, err error)

CreateStack - Creates a stack

func (*CloudFormationClient) DeleteStack

func (c *CloudFormationClient) DeleteStack(stackID *string) error

DeleteStack deletes a stack

func (*CloudFormationClient) GetStack

func (c *CloudFormationClient) GetStack(stackID *string) (stack *cf.Stack, err error)

DescribeStack Get stack info

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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