runtime

package
v0.1.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace            = "runtime."
	EnvNamespace         = Namespace + "env."
	SecretNamespace      = Namespace + "secrets."
	InputNamespace       = Namespace + "input."
	RunDateParamName     = Namespace + "run_date"
	RunDateTimeParamName = Namespace + "run_datetime"
)

Variables

This section is empty.

Functions

func HasEnvironmentSecretReference

func HasEnvironmentSecretReference(input string) bool

func HasEnvironmentSecretReferenceInPipeline

func HasEnvironmentSecretReferenceInPipeline(pipeline *pipelinespec.Pipeline) bool

HasEnvironmentSecretReferenceInPipeline reports whether runtime secret resolution is needed.

func HasRuntimeVariableReference

func HasRuntimeVariableReference(input string) bool

func InputParameterKeys

func InputParameterKeys(input map[string]any) []string

InputParameterKeys returns the sorted safe parameter-key names for run source metadata.

func IsEnvironmentSecretReference

func IsEnvironmentSecretReference(input string) bool

func IsRuntimeVariableReference

func IsRuntimeVariableReference(input string) bool

func ResolvePipeline

func ResolvePipeline(pipeline *pipelinespec.Pipeline, variables []model.RuntimeVariable) error

ResolvePipeline substitutes product-managed runtime variables in environment-aware runtime fields. Non-env placeholders are left for connector/query execution.

func ResolvePipelineInput

func ResolvePipelineInput(pipeline *pipelinespec.Pipeline, input map[string]any) error

ResolvePipelineInput substitutes non-secret per-run input values in runtime fields. Values are request-local: callers must persist only InputParameterKeys output, never values.

func ResolvePipelineSecrets

func ResolvePipelineSecrets(pipeline *pipelinespec.Pipeline, secrets []model.RuntimeSecretValue) error

ResolvePipelineSecrets substitutes write-only environment secret values inside the runtime boundary.

func SecretReference

func SecretReference(key string) string

func ValidateInput

func ValidateInput(input map[string]any) error

ValidateInput enforces the public non-secret runtime input key contract.

func ValidateInputKey

func ValidateInputKey(key string) error

ValidateInputKey checks whether a per-run input key can be referenced as runtime.input.key.

func VariableReference

func VariableReference(key string) string

Types

type LiteralString

type LiteralString string

LiteralString is a connector literal produced from a whole-value text runtime variable that would otherwise collide with a later runtime expression language. It is unwrapped back to string before connector execution.

Jump to

Keyboard shortcuts

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