Versions in this module Expand all Collapse all v0 v0.15.1 Jan 24, 2026 Changes in this version + const CloudFormationDocsBaseURL + func ColorizeUnifiedDiff(diff string, styles *Styles) string + func GetResourceTypeURL(resourceType string) string + func Highlight(text string) string + func Hyperlink(url, text string) string + func HyperlinkResourceType(resourceType string) string + func ShouldUseColour() bool + type ChangeType string + const ChangeTypeAdd + const ChangeTypeModify + const ChangeTypeRemove + type DefaultParameterComparator struct + func (c *DefaultParameterComparator) Compare(currentParams, proposedParams map[string]string) ([]ParameterDiff, error) + type DefaultTagComparator struct + func (c *DefaultTagComparator) Compare(currentTags, proposedTags map[string]string) ([]TagDiff, error) + type Differ interface + DiffStack func(ctx context.Context, stack *model.Stack, options Options) (*Result, error) + type MockDiffer struct + func (m *MockDiffer) DiffStack(ctx context.Context, stack *model.Stack, options Options) (*Result, error) + type MockParameterComparator struct + func (m *MockParameterComparator) Compare(currentParams, proposedParams map[string]string) ([]ParameterDiff, error) + type MockTagComparator struct + func (m *MockTagComparator) Compare(currentTags, proposedTags map[string]string) ([]TagDiff, error) + type MockTemplateComparator struct + func (m *MockTemplateComparator) Compare(ctx context.Context, currentTemplate, proposedTemplate string) (*TemplateChange, error) + type Options struct + KeepChangeSet bool + ParametersOnly bool + TagsOnly bool + TemplateOnly bool + type ParameterComparator interface + Compare func(currentParams, proposedParams map[string]string) ([]ParameterDiff, error) + func NewParameterComparator() ParameterComparator + type ParameterDiff struct + ChangeType ChangeType + CurrentValue string + Key string + ProposedValue string + type Result struct + ChangeSet *aws.ChangeSetInfo + ChangeSetError error + Context string + Options Options + ParameterDiffs []ParameterDiff + StackExists bool + StackName string + TagDiffs []TagDiff + TemplateChange *TemplateChange + func (r *Result) HasChanges() bool + func (r *Result) String() string + type StackDiffer struct + func NewStackDiffer(clientFactory aws.ClientFactory) *StackDiffer + func (d *StackDiffer) DiffStack(ctx context.Context, stack *model.Stack, options Options) (*Result, error) + type Styles struct + Added lipgloss.Style + AddedText lipgloss.Style + Arrow lipgloss.Style + Bold lipgloss.Style + DiffContext lipgloss.Style + DiffHunk lipgloss.Style + Error lipgloss.Style + Footer lipgloss.Style + Header lipgloss.Style + HeaderTitle lipgloss.Style + HeaderValue lipgloss.Style + Key lipgloss.Style + Modified lipgloss.Style + ModifiedText lipgloss.Style + Removed lipgloss.Style + RemovedText lipgloss.Style + RiskHigh lipgloss.Style + RiskLow lipgloss.Style + RiskMedium lipgloss.Style + SectionActive lipgloss.Style + SectionHeader lipgloss.Style + SectionHeaderInactive lipgloss.Style + SectionInactive lipgloss.Style + Separator lipgloss.Style + StatusChanges lipgloss.Style + StatusNew lipgloss.Style + StatusNoChange lipgloss.Style + SubSection lipgloss.Style + Subtle lipgloss.Style + Success lipgloss.Style + UseColour bool + Value lipgloss.Style + Warning lipgloss.Style + func NewStyles(useColour bool) *Styles + func (s *Styles) GetChangeSetSymbol(action string) string + func (s *Styles) GetChangeSymbol(changeType ChangeType) string + type TagComparator interface + Compare func(currentTags, proposedTags map[string]string) ([]TagDiff, error) + func NewTagComparator() TagComparator + type TagDiff struct + ChangeType ChangeType + CurrentValue string + Key string + ProposedValue string + type TemplateChange struct + CurrentHash string + Diff string + HasChanges bool + ProposedHash string + ResourceCount struct{ ... } + type TemplateComparator interface + Compare func(ctx context.Context, currentTemplate, proposedTemplate string) (*TemplateChange, error) + func NewYAMLTemplateComparator() TemplateComparator + type YAMLTemplateComparator struct + func (c *YAMLTemplateComparator) Compare(ctx context.Context, currentTemplate, proposedTemplate string) (*TemplateChange, error)