Documentation
¶
Index ¶
- func Connect(credProvider provider.CredProvider, region string) (cloudFormationInternal, error)
- type CloudFormation
- func (this *CloudFormation) CreateStack(name, templateBody string, params []*Parameter) (stackID string, err error)
- func (this *CloudFormation) DeleteStack(stackName string) error
- func (this *CloudFormation) DescribeStack(stackName string) (*Stack, error)
- func (this *CloudFormation) UpdateStack(name, templateBody string, params []*Parameter) (stackID string, err error)
- type Parameter
- type Provider
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudFormation ¶
type CloudFormation struct {
Connect func() (cloudFormationInternal, error)
// contains filtered or unexported fields
}
func (*CloudFormation) CreateStack ¶
func (this *CloudFormation) CreateStack(name, templateBody string, params []*Parameter) (stackID string, err error)
func (*CloudFormation) DeleteStack ¶
func (this *CloudFormation) DeleteStack(stackName string) error
func (*CloudFormation) DescribeStack ¶
func (this *CloudFormation) DescribeStack(stackName string) (*Stack, error)
func (*CloudFormation) UpdateStack ¶
func (this *CloudFormation) UpdateStack(name, templateBody string, params []*Parameter) (stackID string, err error)
type Provider ¶
type Provider interface {
CreateStack(string, string, []*Parameter) (stackID string, err error)
UpdateStack(string, string, []*Parameter) (stackID string, err error)
DeleteStack(stackName string) error
DescribeStack(stackName string) (*Stack, error)
}
func NewCloudFormation ¶
func NewCloudFormation(credProvider provider.CredProvider, region string) (Provider, error)
Click to show internal directories.
Click to hide internal directories.