subst

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVariables

func GetVariables(regex string) (envs map[string]interface{}, err error)

Types

type Subst added in v1.1.0

type Subst struct {
	Kustomization  *kustomize.Kustomize
	Manifests      [][]byte // Store as byte slices for simplicity
	Substitutions  map[string]interface{}
	EjsonDecryptor *ejson.EjsonDecryptor // Add ejson decryptor
	Config         config.Configuration  // Store full config for ejson keys
}

Subst represents a simplified subst processor for CMP

func NewSubst added in v1.1.0

func NewSubst(config config.Configuration) (*Subst, error)

NewSubst creates a new simplified Subst instance

func (*Subst) Build added in v1.1.0

func (s *Subst) Build() error

Build processes kustomize output with gomplate templates

Jump to

Keyboard shortcuts

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