Documentation ¶
Index ¶
Constants ¶
View Source
const ( EPTypeViper = "ViperParam" EPTypeVault = "VaultParam" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalParameter ¶
type ParameterResolver ¶
type SecureParameterResolver ¶
type SecureParameterResolver struct {
// contains filtered or unexported fields
}
func ConfigureParameterResolver ¶
func ConfigureParameterResolver(viperCfg *viper.Viper, secretsPath string) (*SecureParameterResolver, error)
func NewSecureParameterResolver ¶
func NewSecureParameterResolver(hcv *hv.HCVaultClient, sideVipers map[string]*viper.Viper) *SecureParameterResolver
func (*SecureParameterResolver) AddSideViper ¶
func (spr *SecureParameterResolver) AddSideViper(name string, v *viper.Viper)
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.