Discover Packages
github.com/guarnz/deadvalues
internal
config
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 6, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package config loads .deadvalues.yaml.
Match reports whether pattern matches key or one of its ancestors.
type Config struct {
KubeVersion string `json:"kubeVersion"`
APIVersions []string `json:"apiVersions"`
FailOn string `json:"failOn"`
Ignore []Ignore `json:"ignore"`
Flux Flux `json:"flux"`
}
Load reads path. A missing file is an error only when required is true.
type Flux struct {
Substitute map[string ]string `json:"substitute"`
}
Flux holds values for ${var} placeholders that Flux postBuild
substitution fills in at reconcile time.
type Ignore struct {
App string `json:"app"`
Keys []string `json:"keys"`
}
Ignore accepts keys on purpose. Without App it applies to every app.
Keys are dotted patterns: `*` matches one segment, `**` any number of
segments, and a pattern matching a map also covers everything under it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.