Documentation
¶
Overview ¶
Package utils contains a series of helpers function for the secrets Component and its mock. Direct usage of this helpers outside of the secrets Component sphere should be avoided.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Walker ¶
type Walker struct {
// Resolver is called for eachs string type found in the data tree
Resolver func(path []string, value string) (string, error)
}
Walker recursively explores a loaded YAML in search for string values to replace. For each string the 'Resolver' callback will be called allowing it to overwrite the string value.
Click to show internal directories.
Click to hide internal directories.