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"`
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
}
func (*Config) Mytoken ¶ added in v0.2.0
func (c *Config) Mytoken() *mytokenlib.MytokenServer
func (*Config) SetMytokenServer ¶ added in v0.6.1
func (c *Config) SetMytokenServer(mytoken *mytokenlib.MytokenServer)
Click to show internal directories.
Click to hide internal directories.