envloader

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL