Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDefault ¶
func LoadDefault()
LoadDefault loads the config from one of the default config locations
Types ¶
type Config ¶ added in v0.2.0
type Config struct {
URL string `yaml:"instance"`
Mytoken *mytokenlib.MytokenServer `yaml:"-"`
DefaultProvider string `yaml:"default_provider"`
DefaultTokenCapabilities []string `yaml:"default_token_capabilities"`
TokenNamePrefix string `yaml:"token_name_prefix"`
UseWLCGTokenDiscovery bool `yaml:"use_wlcg_token_discovery"`
Providers map[string]string `yaml:"providers"`
Hostname string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.