Documentation
¶
Index ¶
Constants ¶
View Source
const ( StartupReadModelRebuildAuto = "auto" StartupReadModelRebuildAlways = "always" SMTPTLSModeStartTLS = "starttls" SMTPTLSModeTLS = "tls" SMTPTLSModePlain = "plain" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DatabaseURL string
ConnectorSecretKey []byte
SMTP SMTPConfig
HTTPAddr string
MetricsAddr string
StaticDir string
AuthCookieSecure bool
TrustedProxyCIDRs []string
DevSeedAdmin bool
SyncDiscoveryEnabled bool
SyncInterval time.Duration
SyncDiscoveryInterval time.Duration
SyncOktaInterval time.Duration
SyncEntraInterval time.Duration
SyncGoogleWorkspaceInterval time.Duration
SyncGitHubInterval time.Duration
SyncDatadogInterval time.Duration
SyncAWSInterval time.Duration
SyncFailureBackoffMax time.Duration
SyncOktaWorkers int
SyncGitHubWorkers int
SyncDatadogWorkers int
ResyncEnabled bool
ResyncMode string
GlobalEvalMode string
SyncLockMode string
SyncLockTTL time.Duration
SyncLockHeartbeatInterval time.Duration
SyncLockHeartbeatTimeout time.Duration
SyncLockInstanceID string
StartupReadModelRebuildMode string
}
func LoadWithOptions ¶
func LoadWithOptions(opts LoadOptions) (Config, error)
type LoadOptions ¶
type LoadOptions struct {
RequireDatabaseURL bool
}
Click to show internal directories.
Click to hide internal directories.