Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MetricExporter string ManagementPort uint16 OfrepServicePort uint16 OtelCollectorURI string ServiceCertPath string ServiceKeyPath string ServicePort uint16 ServiceSocketPath string SyncServicePort uint16 SyncProviders []sync.SourceConfig CORS []string }
Config is the configuration structure derived from startup arguments.
type Runtime ¶
type Runtime struct { Evaluator evaluator.IEvaluator Logger *logger.Logger FlagSync flagsync.ISyncService OfrepService ofrep.IOfrepService Service service.IFlagEvaluationService ServiceConfig service.Configuration SyncImpl []sync.ISync // contains filtered or unexported fields }
func FromConfig ¶
FromConfig builds a runtime from startup configurations nolint: funlen
Click to show internal directories.
Click to hide internal directories.