Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployOptions ¶
type DeployOptions struct { StackName string TemplateFolder string MainTemplate string Region string Bucket string BucketFolder string StackParams StackParams StackTags StackTags }
DeployOptions holds options for template deployment
func (*DeployOptions) Validate ¶
func (o *DeployOptions) Validate() error
Validate returns an error if the options are not valid
type Deployer ¶
type Deployer interface {
Deploy(*DeployOptions) error
}
Deployer is and interface that can deploy a cloudformation stack
func New ¶
func New(c cloudformationiface.CloudFormationAPI, u uploader.Uploader) Deployer
New creates a new Deployer instance
type StackParams ¶
StackParams holds parameters for a cloudforamtion stack
func (StackParams) AWSParams ¶
func (s StackParams) AWSParams() []*cloudformation.Parameter
AWSParams converts StackParams to a slice of *cloudformation.Parameter
Click to show internal directories.
Click to hide internal directories.