Help us shape the future of Go! Take the 2026 Go Developer Survey

specparse

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package specparse converts an already-decoded []any of spec maps (as produced by YAML/JSON config loaders) into []interfaces.ResourceSpec.

This is the in-memory parser — it does NOT read files or expand secret:// references. Secret refs pass through verbatim so that downstream JIT substitution (iac/jitsubst) can expand them at apply time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseResourceSpecs

func ParseResourceSpecs(raw any) ([]interfaces.ResourceSpec, error)

ParseResourceSpecs converts a raw config value ([]any of map[string]any) into []interfaces.ResourceSpec. A nil raw value is allowed and returns a nil slice. secret:// refs in config values are preserved verbatim.

Types

This section is empty.

Jump to

Keyboard shortcuts

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