Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsConfig ¶
type AccountsConfig struct {
ServiceAccountEmail string `yaml:"serviceAccountEmail"`
HelpdeskEmail string `yaml:"helpdeskEmail"`
}
AccountsConfig defines the email chain for account approval requests
type AirbusProviderConfig ¶
type Config ¶
type Config struct {
Host string `yaml:"host"`
BasePath string `yaml:"basePath"`
DocsPath string `yaml:"docsPath"`
Accounts AccountsConfig `yaml:"accounts"`
Database DatabaseConfig `yaml:"database"`
Pulsar PulsarConfig `yaml:"pulsar"`
Keycloak KeycloakConfig `yaml:"keycloak"`
AWS AWSConfig `yaml:"aws"`
Files FilesConfig `yaml:"files"`
Providers ProvidersConfig `yaml:"providers"`
}
Config holds all configuration details
func LoadConfig ¶
LoadConfig loads and parses the configuration from a given file path
type DatabaseConfig ¶
DatabaseConfig defines the database connection details
type FilesConfig ¶
type KeycloakConfig ¶
type KeycloakConfig struct {
ClientId string `yaml:"clientId"`
URL string `yaml:"url"`
Realm string `yaml:"realm"`
}
KeycloakConfig defines authentication configuration
type PlanetProviderConfig ¶
type PlanetProviderConfig struct {
ValidationURL string `yaml:"validation_url"`
}
type ProvidersConfig ¶
type ProvidersConfig struct {
Airbus AirbusProviderConfig `yaml:"airbus"`
Planet PlanetProviderConfig `yaml:"planet"`
}
Click to show internal directories.
Click to hide internal directories.