Documentation ¶
Index ¶
Constants ¶
View Source
const ( BackendRestPort = "BACKEND_REST_PORT" BackendRestTLSPort = "BACKEND_REST_TLS_PORT" TraceSamplingEnabled = "TRACE_SAMPLING_ENABLED" HTTPTracesPort = "HTTP_TRACES_PORT" HTTPTracesTLSPort = "HTTP_TRACES_TLS_PORT" HTTPTraceSamplingManagerPort = "HTTP_TRACE_SAMPLING_MANAGER_PORT" HTTPSTraceSamplingManagerPort = "HTTPS_TRACE_SAMPLING_MANAGER_PORT" GRPCTraceSamplingManagerPort = "GRPC_TRACE_SAMPLING_MANAGER_PORT" HostToTraceSecretName = "HOST_TO_TRACE_SECRET_NAME" //nolint:gosec HostToTraceSecretNamespace = "HOST_TO_TRACE_SECRET_NAMESPACE" //nolint:gosec HostToTraceSecretOwnerName = "HOST_TO_TRACE_SECRET_OWNER_NAME" //nolint:gosec HealthCheckAddress = "HEALTH_CHECK_ADDRESS" StateBackupIntervalSec = "STATE_BACKUP_INTERVAL_SEC" DatabaseCleanerIntervalSec = "DATABASE_CLEANER_INTERVAL_SEC" StateBackupFileName = "STATE_BACKUP_FILE_NAME" NoMonitorEnvVar = "NO_K8S_MONITOR" K8sLocalEnvVar = "K8S_LOCAL" EnableK8s = "ENABLE_K8S" EnableTLS = "ENABLE_TLS" TLSServerCertFilePath = "TLS_SERVER_CERT_FILE_PATH" TLSServerKeyFilePath = "TLS_SERVER_KEY_FILE_PATH" RootCertFilePath = "ROOT_CERT_FILE_PATH" ExternalHTTPTracesTLSPort = "EXTERNAL_HTTP_TRACES_TLS_PORT" DBNameEnvVar = "DB_NAME" DBUserEnvVar = "DB_USER" DBPasswordEnvVar = "DB_PASS" DBHostEnvVar = "DB_HOST" DBPortEnvVar = "DB_PORT_NUMBER" DatabaseDriver = "DATABASE_DRIVER" EnableDBInfoLogs = "ENABLE_DB_INFO_LOGS" ResponseHeadersToIgnore = "RESPONSE_HEADERS_TO_IGNORE" RequestHeadersToIgnore = "REQUEST_HEADERS_TO_IGNORE" ModulesAssetsEnvVar = "MODULES_ASSETS" NotificationPrefix = "NOTIFICATION_BACKEND_PREFIX" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BackendRestPort int BackendRestTLSPort int HTTPTracesPort int HTTPTracesTLSPort int HealthCheckAddress string StateBackupIntervalSec int DatabaseCleanerIntervalSec int StateBackupFileName string SpeculatorConfig _speculator.Config K8sLocal bool EnableK8s bool EnableTLS bool TLSServerCertFilePath string TLSServerKeyFilePath string RootCertFilePath string NotificationPrefix string // External HTTP Trace server ExternalHTTPTracesTLSPort int // trace sampling config HTTPTraceSamplingManagerPort int HTTPSTraceSamplingManagerPort int GRPCTraceSamplingManagerPort int TraceSamplingEnabled bool HostToTraceSecretName string HostToTraceSecretNamespace string HostToTraceSecretOwnerName string // database config DatabaseDriver string DBName string DBUser string DBPassword string DBHost string DBPort string EnableDBInfoLogs bool }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.