stack

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiffSuccessStatus = "success"
	DiffFailStatus    = "failed"
	DiffUnknownStatus = "unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Stack

type Stack struct {
	StackName        string                   `validate:"required",json:"StackName"`
	TemplatePath     string                   `validate:"required",json:"TemplatePath"`
	TemplateRootPath string                   `json:"TemplateRootPath"`
	AbsTemplatePath  string                   `json:"AbsTemplatePath"`
	TemplateUrl      string                   `json:"TemplateUrl"`
	Action           string                   `validate:"required",json:"Action"`
	StackPolicy      templates.PolicyDocument `validate:"required",json:"StackPolicy"`
	Region           string                   `json:"Region"`
	UID              string                   `json:"UID,omitempty"`
	Bucket           string                   `json:"Bucket,omitempty"`
	Parameters       map[string]string        `validate:"required",json:"Parameters"`
	DeploymentOrder  int                      `json:"DeploymentOrder"`
	Changes          *cloudformation.Changes

	SuppressMessages bool

	RoleArn string

	Deployer cloudformation.CloudFormation
	Uploader s3.S3
	// contains filtered or unexported fields
}

func (*Stack) Delete

func (s *Stack) Delete() error

func (*Stack) Deploy

func (s *Stack) Deploy() error

func (*Stack) Diff

func (s *Stack) Diff() error

func (*Stack) SetBucket

func (s *Stack) SetBucket(bucket string)

func (*Stack) SetDeploymentOrder

func (s *Stack) SetDeploymentOrder(i int)

func (*Stack) SetRegion

func (s *Stack) SetRegion(region string)

func (*Stack) SetUuid

func (s *Stack) SetUuid(uuid string)

Jump to

Keyboard shortcuts

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