Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load()
Load reads the config file and populates the config struct; then validates the config
func LoadForSetup ¶
func LoadForSetup()
LoadForSetup reads the config file and populates the config struct; it does not validate the config, since this is not required for setup
Types ¶
type LoggerConf ¶
type LoggerConf struct {
Dir string `yaml:"dir"`
StdErr bool `yaml:"stderr"`
Level string `yaml:"level"`
}
LoggerConf holds configuration related to logging
type ProviderConf ¶
type ProviderConf struct {
Issuer string `yaml:"issuer"`
ClientID string `yaml:"client_id"`
ClientSecret string `yaml:"client_secret"`
Scopes []string `yaml:"scopes"`
Endpoints *oauth2x.Endpoints `yaml:"-"`
Provider *oidc.Provider `yaml:"-"`
}
ProviderConf holds information about a provider
Click to show internal directories.
Click to hide internal directories.