Documentation
¶
Index ¶
- Constants
- func HasEnvironmentSecretReference(input string) bool
- func HasEnvironmentSecretReferenceInPipeline(pipeline *pipelinespec.Pipeline) bool
- func HasRuntimeVariableReference(input string) bool
- func InputParameterKeys(input map[string]any) []string
- func IsEnvironmentSecretReference(input string) bool
- func IsRuntimeVariableReference(input string) bool
- func ResolvePipeline(pipeline *pipelinespec.Pipeline, variables []model.RuntimeVariable) error
- func ResolvePipelineInput(pipeline *pipelinespec.Pipeline, input map[string]any) error
- func ResolvePipelineSecrets(pipeline *pipelinespec.Pipeline, secrets []model.RuntimeSecretValue) error
- func SecretReference(key string) string
- func ValidateInput(input map[string]any) error
- func ValidateInputKey(key string) error
- func VariableReference(key string) string
- type LiteralString
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func HasEnvironmentSecretReferenceInPipeline ¶
func HasEnvironmentSecretReferenceInPipeline(pipeline *pipelinespec.Pipeline) bool
HasEnvironmentSecretReferenceInPipeline reports whether runtime secret resolution is needed.
func InputParameterKeys ¶
InputParameterKeys returns the sorted safe parameter-key names for run source metadata.
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 ValidateInput ¶
ValidateInput enforces the public non-secret runtime input key contract.
func ValidateInputKey ¶
ValidateInputKey checks whether a per-run input key can be referenced as runtime.input.key.
func VariableReference ¶
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.