Documentation ¶
Index ¶
Constants ¶
View Source
const ( EPTypeSideConfig = "SideConfigParam" EPTypeVault = "VaultParam" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParameterResolver ¶
type SecureParameterResolver ¶
type SecureParameterResolver struct {
// contains filtered or unexported fields
}
func ConfigureParameterResolver ¶
func ConfigureParameterResolver(cfg *koanf.Koanf, secretsPath string) (*SecureParameterResolver, error)
func NewSecureParameterResolver ¶
func NewSecureParameterResolver(hcv *hv.HCVaultClient, sideConfigs map[string]*koanf.Koanf) *SecureParameterResolver
func (*SecureParameterResolver) AddSideConfig ¶ added in v1.1.0
func (spr *SecureParameterResolver) AddSideConfig(name string, cfg *koanf.Koanf)
func (*SecureParameterResolver) Close ¶
func (spr *SecureParameterResolver) Close() error
func (*SecureParameterResolver) ResolveString ¶
func (spr *SecureParameterResolver) ResolveString(param any) (string, error)
Click to show internal directories.
Click to hide internal directories.