v1

package
v0.6.39 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: AGPL-3.0, Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HookFunction

type HookFunction func() error

type Lifecycle

type Lifecycle string
const (
	LifecyclePreStart  Lifecycle = "pre-start"
	LifecyclePostStart Lifecycle = "post-start"
)

type StackRun

type StackRun struct {
	ID      string
	Tarball string

	ExecWorkDir *string
	ApprovedAt  *string

	Approval    bool
	ManageState bool
	DryRun      bool

	Variables map[string]interface{}

	Status       gqlclient.StackStatus
	Type         gqlclient.StackType
	Creds        *gqlclient.StackRunBaseFragment_PluralCreds
	StateUrls    *gqlclient.StackRunBaseFragment_StateUrls
	PolicyEngine *gqlclient.PolicyEngineFragment

	Steps       []*gqlclient.RunStepFragment
	Files       []*gqlclient.StackFileFragment
	Environment []*gqlclient.StackEnvironmentFragment

	Parallelism  *int64
	Refresh      *bool
	ApproveEmpty *bool

	InventoryFile *string
	PlaybookFile  *string
	SSHKeyFile    *string
	ConfigFile    *string

	ConsoleURL   string
	ConsoleToken string
}

func (*StackRun) Env

func (in *StackRun) Env() []string

Env parses the StackRun.Environment as a list of strings. Each entry is of the form "key=value". Automatically adds Plural env vars if creds were configured.

func (*StackRun) FromStackRunBaseFragment

func (in *StackRun) FromStackRunBaseFragment(fragment *gqlclient.StackRunBaseFragment) *StackRun

func (*StackRun) MaxSeverity

func (in *StackRun) MaxSeverity() int

func (*StackRun) Vars

func (in *StackRun) Vars() (*string, error)

Vars parses the StackRun.Variables map as a valid JSON.

Jump to

Keyboard shortcuts

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