Documentation ¶
Overview ¶
Package conduit wires up everything under the hood of a Conduit instance including metrics, telemetry, logging, and server construction. It should only ever interact with the Orchestrator, never individual services. All of that responsibility should be left to the Orchestrator.
Index ¶
Constants ¶
View Source
const ( DBTypeBadger = "badger" DBTypePostgres = "postgres" DBTypeInMemory = "inmemory" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DB struct { Type string Badger struct { Path string } Postgres struct { ConnectionString string Table string } } HTTP struct { Address string } GRPC struct { Address string } Log struct { Level string Format string } Connectors struct { Path string } Pipelines struct { Path string ExitOnError bool } }
Config holds all configurable values for Conduit.
type Runtime ¶
type Runtime struct { Config Config DB database.DB Orchestrator *orchestrator.Orchestrator // contains filtered or unexported fields }
Runtime sets up all services for serving and monitoring a Conduit instance.
func NewRuntime ¶
NewRuntime sets up a Runtime instance and primes it for start.
Click to show internal directories.
Click to hide internal directories.