Documentation ¶
Index ¶
- Variables
- type Client
- type InfrastructureManager
- func (m InfrastructureManager) Create(keyPairName string, numberOfAvailabilityZones int, ...) (Stack, error)
- func (m InfrastructureManager) Delete(stackName string) error
- func (m InfrastructureManager) Describe(stackName string) (Stack, error)
- func (m InfrastructureManager) Exists(stackName string) (bool, error)
- func (m InfrastructureManager) Update(keyPairName string, numberOfAvailabilityZones int, ...) (Stack, error)
- type Stack
- type StackManager
- func (s StackManager) CreateOrUpdate(name string, template templates.Template, tags Tags) error
- func (s StackManager) Delete(name string) error
- func (s StackManager) Describe(name string) (Stack, error)
- func (s StackManager) GetPhysicalIDForResource(stackName string, logicalResourceID string) (string, error)
- func (s StackManager) Update(name string, template templates.Template, tags Tags) error
- func (s StackManager) WaitForCompletion(name string, sleepInterval time.Duration, action string) error
- type Tag
- type Tags
Constants ¶
This section is empty.
Variables ¶
View Source
var StackNotFound error = errors.New("stack not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateStack(input *awscloudformation.CreateStackInput) (*awscloudformation.CreateStackOutput, error) UpdateStack(input *awscloudformation.UpdateStackInput) (*awscloudformation.UpdateStackOutput, error) DescribeStacks(input *awscloudformation.DescribeStacksInput) (*awscloudformation.DescribeStacksOutput, error) DeleteStack(input *awscloudformation.DeleteStackInput) (*awscloudformation.DeleteStackOutput, error) DescribeStackResource(input *awscloudformation.DescribeStackResourceInput) (*awscloudformation.DescribeStackResourceOutput, error) }
type InfrastructureManager ¶
type InfrastructureManager struct {
// contains filtered or unexported fields
}
func NewInfrastructureManager ¶
func NewInfrastructureManager(builder templateBuilder, stackManager stackManager) InfrastructureManager
func (InfrastructureManager) Delete ¶
func (m InfrastructureManager) Delete(stackName string) error
func (InfrastructureManager) Describe ¶
func (m InfrastructureManager) Describe(stackName string) (Stack, error)
type StackManager ¶
type StackManager struct {
// contains filtered or unexported fields
}
func NewStackManager ¶
func NewStackManager(cloudFormationClientProvider cloudFormationClientProvider, logger logger) StackManager
func (StackManager) CreateOrUpdate ¶
func (StackManager) Delete ¶
func (s StackManager) Delete(name string) error
func (StackManager) GetPhysicalIDForResource ¶
func (s StackManager) GetPhysicalIDForResource(stackName string, logicalResourceID string) (string, error)
func (StackManager) WaitForCompletion ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.