Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsSecretsManagerEnvLoader ¶
type AwsSecretsManagerEnvLoader struct {
// contains filtered or unexported fields
}
func NewAwsSecretsManagerEnvLoader ¶
func NewAwsSecretsManagerEnvLoader(secretName string, region string, version string, logger *loglib.StandardLogger) *AwsSecretsManagerEnvLoader
func (*AwsSecretsManagerEnvLoader) GetEnvVar ¶
func (a *AwsSecretsManagerEnvLoader) GetEnvVar(key string, required bool) string
func (*AwsSecretsManagerEnvLoader) PrintEnvVar ¶
func (a *AwsSecretsManagerEnvLoader) PrintEnvVar(name string, value string)
type EnvLoader ¶
type EnvLoader interface { GetEnvVar(key string, required bool) string PrintEnvVar(name string, value string) }
func NewEnvLoader ¶
func NewEnvLoader(version string, logger *loglib.StandardLogger) EnvLoader
type LocalEnvLoader ¶
type LocalEnvLoader struct {
// contains filtered or unexported fields
}
func NewLocalEnvLoader ¶
func NewLocalEnvLoader(version string, logger loglib.StandardLogger) *LocalEnvLoader
func (*LocalEnvLoader) GetEnvVar ¶
func (l *LocalEnvLoader) GetEnvVar(key string, required bool) string
func (*LocalEnvLoader) PrintEnvVar ¶
func (l *LocalEnvLoader) PrintEnvVar(name string, value string)
Click to show internal directories.
Click to hide internal directories.