Versions in this module Expand all Collapse all v0 v0.2.0 Jan 30, 2019 Changes in this version type ChangeSet + func (cs *ChangeSet) WithCapabilities(capabilities []string) *ChangeSet v0.1.0 Jan 20, 2019 Changes in this version + var ErrNoChange = errors.New("no changes") + var ErrStackDoesntExist = errors.New("stack doesn't exist") + func Diff(chSet *ChangeSet) (string, error) + type Change struct + Action string + LogicalResourceID string + ReplacementNeeded bool + ResourceType string + type ChangeSet struct + func (cs *ChangeSet) Register() (*ChangeSetHandle, error) + func (cs *ChangeSet) Stack() *Stack + func (cs *ChangeSet) WithParameter(k, v string) *ChangeSet + func (cs *ChangeSet) WithParameters(parameters map[string]string) *ChangeSet + func (cs *ChangeSet) WithRollback(rollbackCfg *cloudformation.RollbackConfiguration) *ChangeSet + func (cs *ChangeSet) WithTags(tags map[string]string) *ChangeSet + type ChangeSetHandle struct + Changes []Change + ID string + IsUpdate bool + func (csh ChangeSetHandle) Exec() error + type EventsTracker struct + func (et *EventsTracker) StartTracking(stack eventProvider) (chan StackEvent, func()) + type HookCmds []hookCmd + func (h HookCmds) Exec() error + type HookError struct + func (e *HookError) Error() string + type KeyVal struct + Key string + Val string + type ParametersMissingError struct + MissingParameters []string + func (e *ParametersMissingError) Error() string + type Stack struct + Name string + func NewStack(cf cloudformationiface.CloudFormationAPI, name string) *Stack + func (s *Stack) AlreadyDeployed() (bool, error) + func (s *Stack) BlockResource(resource string) error + func (s *Stack) Body() (string, error) + func (s *Stack) ChangeSet(body string) *ChangeSet + func (s *Stack) Delete() error + func (s *Stack) Events() ([]StackEvent, error) + func (s *Stack) Exists() (bool, error) + func (s *Stack) Info() (StackInfo, error) + func (s *Stack) Resources() ([]StackResource, error) + func (s *Stack) UnblockResource(resource string) error + type StackEvent struct + ID string + LogicalResourceID string + ResourceType string + Status string + StatusReason string + Timestamp time.Time + type StackInfo struct + func (si StackInfo) AlreadyDeployed() bool + func (si StackInfo) HasParameter(k string) bool + func (si StackInfo) InReviewState() bool + func (si StackInfo) Outputs() []StackOutput + func (si StackInfo) Parameters() []KeyVal + func (si StackInfo) Status() string + func (si StackInfo) StatusDescription() string + func (si StackInfo) Tags() []KeyVal + type StackOutput struct + Description string + ExportName string + Key string + Value string + type StackResource struct + LogicalID string + PhysicalID string + Status string + StatusReason string + Timestamp time.Time + Type string