common

package
v0.0.0-...-6dbdb44 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configs

func Configs(secretLocations []string) error

Configs will populate viper with specified configs.

func GetAllSecrets

func GetAllSecrets() map[string]string

GetAllSecrets will return Viper secrets keys and their corresponding secret filenames.

func LoadConfigs

func LoadConfigs(secretLocationsString string) error

LoadConfigs loads secrets objects given the provided list of configs and a custom secrets

func RegisterSecret

func RegisterSecret(key string, secretFileName string)

RegisterSecret will register the secret filename that will be used for the corresponding Viper string.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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