Versions in this module Expand all Collapse all v3 v3.1.4 Dec 5, 2024 v3.1.3 Dec 2, 2024 Changes in this version + type BootstrapHandler func(ctx context.Context, wg *sync.WaitGroup, startupTimer startup.Timer, ...) (success bool) + type CertificateProvider interface + GetCertificateKeyPair func(path string) (config.CertKeyPair, error) + type Configuration interface + EmptyWritablePtr func() interface{} + GetBootstrap func() config.BootstrapConfiguration + GetInsecureSecrets func() config.InsecureSecrets + GetLogLevel func() string + GetRegistryInfo func() config.RegistryInfo + GetTelemetryInfo func() *config.TelemetryInfo + GetWritablePtr func() any + type CredentialsProvider interface + GetDatabaseCredentials func(database config.Database) (config.Credentials, error) + type MetricsManager interface + GetCounter func(name string) gometrics.Counter + GetGauge func(name string) gometrics.Gauge + GetGaugeFloat64 func(name string) gometrics.GaugeFloat64 + GetTimer func(name string) gometrics.Timer + IsRegistered func(name string) bool + Register func(name string, item interface{}, tags map[string]string) error + ResetInterval func(interval time.Duration) + Run func(ctx context.Context, wg *sync.WaitGroup) + Unregister func(name string) + type MetricsReporter interface + Report func(registry gometrics.Registry, metricTags map[string]map[string]string) error + type SecretProvider interface + DeregisterSecretUpdatedCallback func(secretName string) + GetSecret func(secretName string, keys ...string) (map[string]string, error) + HasSecret func(secretName string) (bool, error) + ListSecretNames func() ([]string, error) + RegisterSecretUpdatedCallback func(secretName string, callback func(secretName string)) error + SecretsLastUpdated func() time.Time + StoreSecret func(secretName string, secrets map[string]string) error + type SecretProviderExt interface + GetAccessToken func(tokenType string, serviceKey string) (string, error) + GetMetricsToRegister func() map[string]interface{} + GetSelfJWT func() (string, error) + IsJWTValid func(jwt string) (bool, error) + SecretUpdatedAtSecretName func(secretName string) + SecretsUpdated func() + type UpdatableConfig interface + UpdateFromRaw func(rawConfig interface{}) bool + type WritableConfig interface + UpdateWritableFromRaw func(rawWritableConfig interface{}) bool