cloudformation

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StackNotFound error = errors.New("stack not found")

Functions

This section is empty.

Types

type InfrastructureManager

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

func NewInfrastructureManager

func NewInfrastructureManager(builder templateBuilder, stackManager stackManager) InfrastructureManager

func (InfrastructureManager) Create

func (m InfrastructureManager) Create(keyPairName string, numberOfAvailabilityZones int, stackName,
	lbType, lbCertificateARN, envID string) (Stack, error)

func (InfrastructureManager) Delete

func (m InfrastructureManager) Delete(stackName string) error

func (InfrastructureManager) Describe

func (m InfrastructureManager) Describe(stackName string) (Stack, error)

func (InfrastructureManager) Exists

func (m InfrastructureManager) Exists(stackName string) (bool, error)

func (InfrastructureManager) Update

func (m InfrastructureManager) Update(keyPairName string, numberOfAvailabilityZones int, stackName, lbType,
	lbCertificateARN, envID string) (Stack, error)

type Stack

type Stack struct {
	Name    string
	Status  string
	Outputs map[string]string
}

type StackManager

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

func NewStackManager

func NewStackManager(cloudFormationClientProvider cloudFormationClientProvider, logger logger) StackManager

func (StackManager) CreateOrUpdate

func (s StackManager) CreateOrUpdate(name string, template templates.Template, tags Tags) error

func (StackManager) Delete

func (s StackManager) Delete(name string) error

func (StackManager) Describe

func (s StackManager) Describe(name string) (Stack, error)

func (StackManager) GetPhysicalIDForResource

func (s StackManager) GetPhysicalIDForResource(stackName string, logicalResourceID string) (string, error)

func (StackManager) Update

func (s StackManager) Update(name string, template templates.Template, tags Tags) error

func (StackManager) WaitForCompletion

func (s StackManager) WaitForCompletion(name string, sleepInterval time.Duration, action string) error

type Tag

type Tag struct {
	Key   string
	Value string
}

type Tags

type Tags []Tag

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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