Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SymbolDefined indicates value defined at this level. SymbolDefined = "●" // U+25CF BLACK CIRCLE // SymbolInherited indicates value inherited/imported. SymbolInherited = "○" // U+25CB WHITE CIRCLE // SymbolComputed indicates a computed/templated value. SymbolComputed = "∴" )
Variables ¶
This section is empty.
Functions ¶
func RenderInlineProvenanceWithStackFile ¶
func RenderInlineProvenanceWithStackFile(yamlData any, ctx *m.MergeContext, atmosConfig *schema.AtmosConfiguration, stackFile string) (output string)
RenderInlineProvenanceWithStackFile renders YAML with provenance as inline comments. The stackFile parameter is the stack manifest file being described (e.g., "orgs/acme/plat/dev/us-east-2.yaml"). Values from this file will be marked with ● (defined), while values from other files show ○ (inherited).
Types ¶
type YAMLLineInfo ¶
type YAMLLineInfo struct {
Path string // JSONPath for this line (e.g., "vars.enabled")
IsKeyLine bool // true if this line contains a key
IsContinuation bool // true if this is a continuation of a multi-line value
}
YAMLLineInfo contains information about a YAML line for provenance tracking.
Click to show internal directories.
Click to hide internal directories.