Documentation
¶
Overview ¶
Copyright © 2025 Stackaroo Contributors SPDX-License-Identifier: BSD-3-Clause
Copyright © 2025 Stackaroo Contributors SPDX-License-Identifier: BSD-3-Clause
Copyright © 2025 Stackaroo Contributors SPDX-License-Identifier: BSD-3-Clause
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatStackDescription ¶
func FormatStackDescription(desc *StackDescription) string
FormatStackDescription formats stack information for display
Types ¶
type Describer ¶
type Describer interface {
DescribeStack(ctx context.Context, stack *model.Stack) (*StackDescription, error)
}
Describer defines the interface for retrieving detailed stack information
func NewStackDescriber ¶
func NewStackDescriber(clientFactory aws.ClientFactory) Describer
NewStackDescriber creates a new describer with the provided client factory
type StackDescriber ¶
type StackDescriber struct {
// contains filtered or unexported fields
}
StackDescriber implements the Describer interface using AWS CloudFormation operations
func (*StackDescriber) DescribeStack ¶
func (d *StackDescriber) DescribeStack(ctx context.Context, stack *model.Stack) (*StackDescription, error)
DescribeStack retrieves comprehensive information about a CloudFormation stack
type StackDescription ¶
type StackDescription struct {
// Basic stack information
Name string
Status string
StackID string
CreatedTime time.Time
UpdatedTime *time.Time
Description string
// Stack configuration
Parameters map[string]string
Outputs map[string]string
Tags map[string]string
// Additional metadata
Region string
}
StackDescription contains comprehensive information about a CloudFormation stack