Documentation ¶
Index ¶
- Variables
- func StackEventErrMsgs(events []*cloudformation.StackEvent) []string
- type Asset
- type AssetID
- type AssetLocation
- type AssetLocationProvider
- type Assets
- type AssetsBuilder
- type CRUDService
- type CreationService
- type Destroyer
- type Provisioner
- func (c *Provisioner) CreateStackAtURLAndWait(cfSvc CRUDService, templateURL string) error
- func (c *Provisioner) EstimateTemplateCost(cfSvc CRUDService, body string, parameters []*cloudformation.Parameter) (*cloudformation.EstimateTemplateCostOutput, error)
- func (c *Provisioner) UpdateStackAtURLAndWait(cfSvc CRUDService, templateURL string) (string, error)
- func (c *Provisioner) UploadAssets(s3Svc S3ObjectPutterService, assets Assets) error
- func (c *Provisioner) ValidateStackAtURL(templateURL string) (string, error)
- type S3ObjectPutterService
- type S3URI
- type UpdateService
Constants ¶
This section is empty.
Variables ¶
View Source
var CFN_TEMPLATE_SIZE_LIMIT = 51200
Functions ¶
func StackEventErrMsgs ¶
func StackEventErrMsgs(events []*cloudformation.StackEvent) []string
Types ¶
type Asset ¶
type Asset struct { AssetLocation Content string }
type AssetID ¶
func NewAssetID ¶
type AssetLocation ¶
func (AssetLocation) URL ¶
func (l AssetLocation) URL() string
type AssetLocationProvider ¶
type AssetLocationProvider struct {
// contains filtered or unexported fields
}
type AssetsBuilder ¶
type AssetsBuilder interface { Add(filename string, content string) AssetsBuilder Build() Assets }
func NewAssetsBuilder ¶
func NewAssetsBuilder(stackName string, s3URI string, region model.Region) AssetsBuilder
type CRUDService ¶
type CRUDService interface { CreateStack(*cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error) UpdateStack(input *cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error) DescribeStacks(input *cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error) DescribeStackEvents(input *cloudformation.DescribeStackEventsInput) (*cloudformation.DescribeStackEventsOutput, error) EstimateTemplateCost(input *cloudformation.EstimateTemplateCostInput) (*cloudformation.EstimateTemplateCostOutput, error) }
type CreationService ¶
type CreationService interface {
CreateStack(*cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error)
}
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
func NewProvisioner ¶
func (*Provisioner) CreateStackAtURLAndWait ¶
func (c *Provisioner) CreateStackAtURLAndWait(cfSvc CRUDService, templateURL string) error
func (*Provisioner) EstimateTemplateCost ¶
func (c *Provisioner) EstimateTemplateCost(cfSvc CRUDService, body string, parameters []*cloudformation.Parameter) (*cloudformation.EstimateTemplateCostOutput, error)
func (*Provisioner) UpdateStackAtURLAndWait ¶
func (c *Provisioner) UpdateStackAtURLAndWait(cfSvc CRUDService, templateURL string) (string, error)
func (*Provisioner) UploadAssets ¶
func (c *Provisioner) UploadAssets(s3Svc S3ObjectPutterService, assets Assets) error
func (*Provisioner) ValidateStackAtURL ¶
func (c *Provisioner) ValidateStackAtURL(templateURL string) (string, error)
type S3ObjectPutterService ¶
type S3ObjectPutterService interface {
PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error)
}
type S3URI ¶
func S3URIFromString ¶
type UpdateService ¶
type UpdateService interface {
UpdateStack(input *cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error)
}
Click to show internal directories.
Click to hide internal directories.