Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultHelmCacheHome is the writable Helm cache directory for stack run jobs. // It lives under /plural, which is backed by an emptyDir volume in Kubernetes. DefaultHelmCacheHome = "/plural/.cache/helm" HelmCacheHomeEnvVar = "HELM_CACHE_HOME" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HookFunction ¶
type HookFunction func() error
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 ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.