Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvManager ¶
type EnvManager struct{}
EnvManager manages secrets stored in .env files and the system.
func NewEnvManager ¶
func NewEnvManager(_ *configs.GigamonoConfig) (EnvManager, error)
NewEnvManager creates a new EnvManager.
type Manager ¶
type Manager interface { Get(key string, opts ...interface{}) (string, error) Set(key string, value string, opts ...interface{}) error }
Manager abstracts how application secrets are managed.
Secrets may be from a .env file or some external service like Hashicorp Vault.
func NewManager ¶
func NewManager(config *configs.GigamonoConfig) (Manager, error)
NewManager creates a new secrets manager based on settings in your gigamono.yaml file.
Click to show internal directories.
Click to hide internal directories.