cloudformation

package
v0.0.0-...-e0d1d7f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 8 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 string, cloudFormationClient Client) (Stack, error)

func (InfrastructureManager) Delete

func (m InfrastructureManager) Delete(client Client, stackName string) error

func (InfrastructureManager) Exists

func (m InfrastructureManager) Exists(stackName string, cloudFormationClient Client) (bool, 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(logger logger) StackManager

func (StackManager) CreateOrUpdate

func (s StackManager) CreateOrUpdate(client Client, name string, template templates.Template) error

func (StackManager) Delete

func (s StackManager) Delete(client Client, name string) error

func (StackManager) Describe

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

func (StackManager) WaitForCompletion

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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