Documentation ¶
Index ¶
- func IsTerminalStatus(status string) bool
- type PrepareOutput
- type Stackit
- func (s *Stackit) Describe(ctx context.Context, stackName string) (*cloudformation.Stack, error)
- func (s *Stackit) Down(ctx context.Context, stackName string, events chan<- TailStackEvent) error
- func (s *Stackit) Execute(ctx context.Context, stackId, changeSetId string, events chan<- TailStackEvent) error
- func (s *Stackit) IsSuccessfulState(ctx context.Context, stackName string) (bool, error)
- func (s *Stackit) PollStackEvents(ctx context.Context, stackId, token string, ...) (*TailStackEvent, error)
- func (s *Stackit) Prepare(ctx context.Context, input StackitUpInput, events chan<- TailStackEvent) (*PrepareOutput, error)
- func (s *Stackit) PrintOutputs(ctx context.Context, stackName string, writer io.Writer)
- func (s *Stackit) Transform(ctx context.Context, template string, paramMap map[string]string) (*string, error)
- type StackitUpInput
- type TailPrinter
- type TailStackEvent
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTerminalStatus ¶
Types ¶
type PrepareOutput ¶
type PrepareOutput struct { Input *cloudformation.CreateChangeSetInput Output *cloudformation.CreateChangeSetOutput Changes []*cloudformation.Change TemplateBody string }
type Stackit ¶
type Stackit struct {
// contains filtered or unexported fields
}
func NewStackit ¶
func NewStackit(api cloudformationctx.CloudFormation, stsApi stsctx.STS) *Stackit
func (*Stackit) IsSuccessfulState ¶
func (*Stackit) PollStackEvents ¶
func (s *Stackit) PollStackEvents(ctx context.Context, stackId, token string, callback func(event TailStackEvent)) (*TailStackEvent, error)
func (*Stackit) Prepare ¶
func (s *Stackit) Prepare(ctx context.Context, input StackitUpInput, events chan<- TailStackEvent) (*PrepareOutput, error)
func (*Stackit) PrintOutputs ¶
type StackitUpInput ¶
type TailPrinter ¶
type TailPrinter struct {
// contains filtered or unexported fields
}
func NewTailPrinter ¶
func NewTailPrinter(writer io.Writer) TailPrinter
func (*TailPrinter) FormatTailEvent ¶
func (tp *TailPrinter) FormatTailEvent(tailEvent TailStackEvent) string
func (*TailPrinter) PrintTailEvent ¶
func (tp *TailPrinter) PrintTailEvent(tailEvent TailStackEvent)
type TailStackEvent ¶
type TailStackEvent struct {
cloudformation.StackEvent
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.