Documentation
¶
Overview ¶
Package cloudformation provides CI job summaries for native CloudFormation components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct{}
Plugin implements plugin.Plugin for CloudFormation components.
func (*Plugin) GetHookBindings ¶
func (p *Plugin) GetHookBindings() []plugin.HookBinding
GetHookBindings returns the CloudFormation CI summary hook bindings.
type TemplateContext ¶
type TemplateContext struct {
*plugin.TemplateContext
// Verb is the CLI verb the user invoked (for example "plan" for the diff hooks), and
// VerbTitle is its title-cased form. Summaries use them so a plan is not called a diff.
Verb string
VerbTitle string
StackName string
ChangeSetName string
ResourceChanges int
// NoOp is true when the changeset reported no changes.
NoOp bool
// HasChanges is true when a diff/apply changeset contains changes.
HasChanges bool
// FailOnDrift is true when drift detect ran with --fail-on-drift.
FailOnDrift bool
StackStatus string
DriftStatus string
DriftedCount int
CodeFence string
}
TemplateContext extends the base template context with CloudFormation-specific fields.
Click to show internal directories.
Click to hide internal directories.