config

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Viper is a global Viper object with custom options
	// - change the key delimiter to support dots in keys ie 'reliably.com'
	//   meaning the nested key lookup will be eg auths::reliably.com::token
	Viper = viper.NewWithOptions(viper.KeyDelimiter("::"))
)

Functions

func AllSettingsSecure added in v0.6.0

func AllSettingsSecure() ms2i

AllSettingsSecure returns the loaded config settings, with obfuscated output for secure values

func GetAuthTokenWithSource

func GetAuthTokenWithSource(hostname string) (string, string, error)

func Hosts

func Hosts() []string

Hosts return the list of authentication hosts from config If Token is provided by the env var, but no host in the config we use the core overriddable hostname as single host

Types

This section is empty.

Jump to

Keyboard shortcuts

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