configenv

package
v1.126.7 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package configenv expands ${VAR} and ${VAR:-default} placeholders in a configuration document before it is parsed.

It is its own package rather than a corner of pkg/platform because the substitution rule is a contract two audiences depend on -- every shipped config writes against it, and every operator reads a failure through it -- and because pkg/platform is at its size budget: a package that must not grow is not where a self-contained rule belongs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(s string) string

Expand expands ${VAR} and ${VAR:-default} patterns in the string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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