Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigProvider ¶
type EnvProvider ¶
type EnvProvider struct {
// contains filtered or unexported fields
}
func NewEnvProvider ¶
func NewEnvProvider(prefix string) *EnvProvider
func (*EnvProvider) Load ¶
func (p *EnvProvider) Load(cfg any) error
func (*EnvProvider) WithEnv ¶ added in v1.0.1
func (p *EnvProvider) WithEnv(env map[string]string) *EnvProvider
func (*EnvProvider) WithManager ¶
func (p *EnvProvider) WithManager(manager *secret.SecretManager) *EnvProvider
type YAMLProvider ¶
type YAMLProvider struct {
// contains filtered or unexported fields
}
func NewYAMLProvider ¶
func NewYAMLProvider(filename string, content []byte) *YAMLProvider
func (*YAMLProvider) Load ¶
func (p *YAMLProvider) Load(cfg any) error
func (*YAMLProvider) WithKey ¶
func (p *YAMLProvider) WithKey(key string) *YAMLProvider
func (*YAMLProvider) WithManager ¶
func (p *YAMLProvider) WithManager(manager *secret.SecretManager) *YAMLProvider
Click to show internal directories.
Click to hide internal directories.