cloudformation_stack

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: MIT-0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

func NewResourceWithOptions

func NewResourceWithOptions(options *CloudFormationOptions) *resource.Resource

Types

type CloudFormationOptions

type CloudFormationOptions struct {
	resource.CommonOptions
}

type CloudFormationPrinter

type CloudFormationPrinter struct {
	Stacks []types.Stack
}

func NewPrinter

func NewPrinter(stacks []types.Stack) *CloudFormationPrinter

func (*CloudFormationPrinter) PrintJSON

func (p *CloudFormationPrinter) PrintJSON(writer io.Writer) error

func (*CloudFormationPrinter) PrintTable

func (p *CloudFormationPrinter) PrintTable(writer io.Writer) error

func (*CloudFormationPrinter) PrintYAML

func (p *CloudFormationPrinter) PrintYAML(writer io.Writer) error

type Getter

type Getter struct {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(cloudformationClient *aws.CloudformationClient) *Getter

func (*Getter) Get

func (g *Getter) Get(stackName string, output printer.Output, options resource.Options) error

func (*Getter) GetStacks

func (g *Getter) GetStacks(stackName string) ([]types.Stack, error)

func (*Getter) GetStacksByCluster

func (g *Getter) GetStacksByCluster(clusterName, stackName string) ([]types.Stack, error)

func (*Getter) Init

func (g *Getter) Init()

type Manager

type Manager struct {
	DryRun bool
	// contains filtered or unexported fields
}

func (*Manager) Create

func (m *Manager) Create(options resource.Options) error

func (*Manager) Delete

func (m *Manager) Delete(options resource.Options) error

func (*Manager) Init

func (m *Manager) Init()

func (*Manager) SetDryRun

func (m *Manager) SetDryRun()

func (*Manager) Update

func (m *Manager) Update(options resource.Options, cmd *cobra.Command) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL