stack

package
v0.19.906 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: AGPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAzureRunnerInitScript string = "https://raw.githubusercontent.com/nuonco/runner/refs/heads/main/scripts/aws/init.sh#azure"
	DefaultAWSRunnerInitScript   string = "https://raw.githubusercontent.com/nuonco/runner/refs/heads/main/scripts/aws/init.sh#default"
	DefaultGCPRunnerInitScript   string = "https://raw.githubusercontent.com/nuonco/runner/refs/heads/main/scripts/gcp/init.sh"
)

Variables

This section is empty.

Functions

func ApplyInstallStackOverrides added in v0.19.894

func ApplyInstallStackOverrides(install *app.Install, stackCfg *app.AppStackConfig)

applyInstallStackOverrides applies per-install stack template overrides from the InstallConfig onto the app-level AppStackConfig. Install-level overrides take precedence over app-level defaults. For CustomNestedStacks, entries with the same Name replace the app-level entry; entries with new Names are appended. Original ordering is preserved.

Types

type Params

type Params struct {
	fx.In

	Cfg          *internal.Config
	DB           *gorm.DB `name:"psql"`
	V            *validator.Validate
	MW           metrics.Writer
	EVClient     teventloop.Client
	Analytics    temporalanalytics.Writer
	Templates    *cloudformation.Templates
	ARMTemplates *arm.Templates
}

type Workflows

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

func NewWorkflows

func NewWorkflows(params Params) (*Workflows, error)

func (*Workflows) All

func (w *Workflows) All() []any

func (*Workflows) GenerateInstallStackVersion

func (w *Workflows) GenerateInstallStackVersion(ctx workflow.Context, sreq signals.RequestSignal) error

@temporal-gen-v2 workflow @execution-timeout 5m @task-timeout 1m

func (*Workflows) GetHandlers

func (*Workflows) InstallStackVersionRun

func (w *Workflows) InstallStackVersionRun(ctx workflow.Context, sreq signals.RequestSignal) error

@temporal-gen-v2 workflow @execution-timeout 720h @task-timeout 30s

func (*Workflows) StackEventLoop

func (w *Workflows) StackEventLoop(ctx workflow.Context, req eventloop.EventLoopRequest, pendingSignals []*signals.Signal) error

func (*Workflows) UpdateInstallStackOutputs

func (w *Workflows) UpdateInstallStackOutputs(ctx workflow.Context, sreq signals.RequestSignal) error

@temporal-gen-v2 workflow @execution-timeout 24h @task-timeout 30s

Jump to

Keyboard shortcuts

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