Documentation
¶
Index ¶
- func BuildContext(steps []StepState) map[string]interface{}
- func InterpolateParams(params map[string]interface{}, steps []StepState) (map[string]interface{}, error)
- func InterpolateValue(value interface{}, ctx map[string]interface{}) (interface{}, error)
- func NormalizeBatchParams(command string, params map[string]interface{}) map[string]interface{}
- func SanitizeStepName(name string) string
- type StepState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildContext ¶
BuildContext creates an interpolation context from completed steps.
func InterpolateParams ¶
func InterpolateParams(params map[string]interface{}, steps []StepState) (map[string]interface{}, error)
InterpolateParams resolves placeholders in params using prior step results.
func InterpolateValue ¶
InterpolateValue recursively resolves placeholders in arbitrary JSON-like data.
func NormalizeBatchParams ¶ added in v0.6.0
NormalizeBatchParams expands shorthand keys for batch operations. It is intentionally command-aware to avoid key collisions.
func SanitizeStepName ¶ added in v0.7.0
SanitizeStepName normalizes a batch step name: lowercase, spaces→underscores, strip non-alphanumeric characters (except _).
Types ¶
Click to show internal directories.
Click to hide internal directories.