Documentation
¶
Index ¶
- func InitConfig()
- func PrintConfig(configData *Config)
- type AuthConfig
- type AuthJWT
- type AuthOIDC
- type Config
- type DbConfig
- type EventsConfig
- type EventsConsoleConfig
- type EventsData
- type EventsDatabaseConfig
- type EventsKafkaConfig
- type LogConfig
- type MysqlConfig
- type PsqlConfig
- type SqliteConfig
- type SwaggerConfig
- type TracingConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig()
func PrintConfig ¶
func PrintConfig(configData *Config)
Types ¶
type AuthConfig ¶
type Config ¶
type Config struct {
Swagger SwaggerConfig
Auth AuthConfig
Tracing TracingConfig
Events EventsConfig
Log LogConfig
Db DbConfig
Creds map[string]models.Credential `json:"-"`
Roles []models.AccessRole
ApprovalRules []models.ApprovalRule
}
func (*Config) GetCredentials ¶
func (c *Config) GetCredentials(provider string) models.Credential
type DbConfig ¶
type DbConfig struct {
Engine string
Psql PsqlConfig
Mysql MysqlConfig
Sqlite SqliteConfig
}
type EventsConfig ¶
type EventsConfig struct {
Kafka EventsKafkaConfig
Console EventsConsoleConfig
Database EventsDatabaseConfig
Data EventsData
}
type EventsConsoleConfig ¶
type EventsConsoleConfig struct {
Enabled bool
}
type EventsData ¶
type EventsDatabaseConfig ¶ added in v0.3.0
type EventsDatabaseConfig struct {
Enabled bool
}
type EventsKafkaConfig ¶
type MysqlConfig ¶
type PsqlConfig ¶
type SqliteConfig ¶
type SqliteConfig struct {
Filename string
}
type SwaggerConfig ¶
type SwaggerConfig struct {
Host string
}
Click to show internal directories.
Click to hide internal directories.