Versions in this module Expand all Collapse all v0 v0.1.0 Feb 16, 2026 Changes in this version + func GetProjectRootDir() string + func ReadFile(file string) (string, error) + type AdapterRequirementsConfig struct + RequiredClusterAdapters []string + RequiredNodePoolAdapters []string + func NewAdapterRequirementsConfig() (*AdapterRequirementsConfig, error) + func (c *AdapterRequirementsConfig) LoadFromEnv() error + type ApplicationConfig struct + Adapters *AdapterRequirementsConfig + Database *DatabaseConfig + Health *HealthConfig + Logging *LoggingConfig + Metrics *MetricsConfig + OCM *OCMConfig + Server *ServerConfig + func NewApplicationConfig() *ApplicationConfig + func (c *ApplicationConfig) AddFlags(flagset *pflag.FlagSet) + func (c *ApplicationConfig) LoadAdapters() error + func (c *ApplicationConfig) ReadFiles() []string + type DatabaseConfig struct + Debug bool + Dialect string + Host string + HostFile string + MaxOpenConnections int + Name string + NameFile string + Password string + PasswordFile string + Port int + PortFile string + RootCertFile string + SSLMode string + Username string + UsernameFile string + func NewDatabaseConfig() *DatabaseConfig + func (c *DatabaseConfig) AddFlags(fs *pflag.FlagSet) + func (c *DatabaseConfig) BindEnv(fs *pflag.FlagSet) + func (c *DatabaseConfig) ConnectionString(withSSL bool) string + func (c *DatabaseConfig) ConnectionStringWithName(name string, withSSL bool) string + func (c *DatabaseConfig) GetGormLogLevel(logLevel string) logger.LogLevel + func (c *DatabaseConfig) LogSafeConnectionString(withSSL bool) string + func (c *DatabaseConfig) LogSafeConnectionStringWithName(name string, withSSL bool) string + func (c *DatabaseConfig) ReadFiles() error + type HealthConfig struct + BindAddress string + EnableHTTPS bool + ShutdownTimeout time.Duration + func NewHealthConfig() *HealthConfig + func (s *HealthConfig) AddFlags(fs *pflag.FlagSet) + func (s *HealthConfig) ReadFiles() error + type LoggingConfig struct + Format string + Level string + Masking MaskingConfig + OTel OTelConfig + Output string + func NewLoggingConfig() *LoggingConfig + func (l *LoggingConfig) AddFlags(fs *pflag.FlagSet) + func (l *LoggingConfig) BindEnv(fs *pflag.FlagSet) + func (l *LoggingConfig) GetSensitiveFieldsList() []string + func (l *LoggingConfig) GetSensitiveHeadersList() []string + func (l *LoggingConfig) ReadFiles() error + type MaskingConfig struct + Enabled bool + SensitiveFields string + SensitiveHeaders string + type MetricsConfig struct + BindAddress string + EnableHTTPS bool + LabelMetricsInclusionDuration time.Duration + func NewMetricsConfig() *MetricsConfig + func (s *MetricsConfig) AddFlags(fs *pflag.FlagSet) + func (s *MetricsConfig) ReadFiles() error + type OCMConfig struct + BaseURL string + ClientID string + ClientIDFile string + ClientSecret string + ClientSecretFile string + Debug bool + EnableMock bool + SelfToken string + SelfTokenFile string + TokenURL string + func NewOCMConfig() *OCMConfig + func (c *OCMConfig) AddFlags(fs *pflag.FlagSet) + func (c *OCMConfig) ReadFiles() error + type OTelConfig struct + Enabled bool + SamplingRate float64 + type ServerConfig struct + ACLFile string + BindAddress string + EnableAuthz bool + EnableHTTPS bool + EnableJWT bool + HTTPSCertFile string + HTTPSKeyFile string + Hostname string + JwkCertFile string + JwkCertURL string + ReadTimeout time.Duration + WriteTimeout time.Duration + func NewServerConfig() *ServerConfig + func (s *ServerConfig) AddFlags(fs *pflag.FlagSet) + func (s *ServerConfig) ReadFiles() error v0.1.0-rc.1 Feb 16, 2026