model

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

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

This section is empty.

Types

type Context added in v0.8.0

type Context struct {
	Name    string
	Region  string
	Account string
}

Context holds context-specific information for stack operations

func NewDefaultTestContext added in v0.8.0

func NewDefaultTestContext() *Context

NewDefaultTestContext creates a Context with default test values

func NewTestContext added in v0.8.0

func NewTestContext(name, region, account string) *Context

NewTestContext creates a Context for testing purposes

func NewTestContextForRegion added in v0.8.0

func NewTestContextForRegion(region string) *Context

NewTestContextForRegion creates a Context for a specific region with default test values

type Stack

type Stack struct {
	Name         string
	Context      *Context
	TemplateBody string
	Parameters   map[string]string
	Tags         map[string]string
	Capabilities []string
	Dependencies []string
}

Stack represents a fully resolved stack ready for deployment

func NewTestStack added in v0.8.0

func NewTestStack(name string, context *Context) *Stack

NewTestStack creates a Stack for testing purposes with proper Context

func NewTestStackWithDefaults added in v0.8.0

func NewTestStackWithDefaults(name string) *Stack

NewTestStackWithDefaults creates a Stack with default test values

func (*Stack) GetTemplateContent

func (rs *Stack) GetTemplateContent() (string, error)

GetTemplateContent returns the template content for this stack

Jump to

Keyboard shortcuts

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