Documentation
¶
Overview ¶
Package config handles loading and validating Creel server configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyConfig ¶
type AuthConfig ¶
type AuthConfig struct {
Providers []OIDCProviderConfig `yaml:"providers"`
PrincipalClaim string `yaml:"principal_claim"`
GroupsClaim string `yaml:"groups_claim"`
APIKeys []APIKeyConfig `yaml:"api_keys"`
}
type CompactionConfig ¶
type CompactionConfig struct {
RetainCompactedChunks bool `yaml:"retain_compacted_chunks"`
}
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Auth AuthConfig `yaml:"auth"`
Metadata MetadataConfig `yaml:"metadata"`
VectorBackend VectorBackendConfig `yaml:"vector_backend"`
Embedding EmbeddingConfig `yaml:"embedding"`
Links LinksConfig `yaml:"links"`
Compaction CompactionConfig `yaml:"compaction"`
}
Config is the top-level server configuration.
type EmbeddingConfig ¶
type LinksConfig ¶
type MetadataConfig ¶
type MetadataConfig struct {
PostgresURL string `yaml:"postgres_url"`
}
type OIDCProviderConfig ¶
OIDCProviderConfig defines a trusted OIDC identity provider. Multiple providers can be configured to support different IdPs simultaneously.
type ServerConfig ¶
type VectorBackendConfig ¶
Click to show internal directories.
Click to hide internal directories.