stack

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Aws aws.Config
	Env envvar.Env
	Log logger.Interface
}

type Interface

type Interface interface {
	// Delete purges the underlying local cache, causing Search to fetch the
	// latest version of the stack object state again over network.
	Delete()

	// Search returns the state of the configured stack object and caches the
	// first valid search result so that consecutive executions of Search prevent
	// network calls. This behaviour guarantees consistent stack object state
	// within reconciliation loops.
	Search() (types.Stack, error)
}

type Stack

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

func New

func New(c Config) *Stack

func (*Stack) Delete

func (s *Stack) Delete()

func (*Stack) Search

func (s *Stack) Search() (types.Stack, error)

Jump to

Keyboard shortcuts

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