Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDriverConfig ¶
func ValidateConfigSchema ¶
func ValidateConfigSchema(config Configuration)
Types ¶
type Configuration ¶
type Configuration struct { Service Service `yaml:"service" validate:"required"` Source Source `yaml:"source" validate:"required"` Secrets *Secrets `yaml:"secrets"` Processors []Processor `yaml:"processors"` Sink Sink `yaml:"sink" validate:"required"` }
func ReadInitConfigFromYaml ¶
func ReadInitConfigFromYaml(configBytes []byte) (Configuration, error)
type Processor ¶
type Processor struct { Driver processors.ProcessorDriver `yaml:"driver"` Config interface{} `yaml:"config"` }
type Secrets ¶
type Secrets struct { StorageType secret.SecretsStorageType `yaml:"storage_type" validate:"required"` Config interface{} `yaml:"config"` }
type Service ¶
type Service struct { ReloadOnRestart bool `yaml:"reload_on_restart"` PipelineId int64 `yaml:"pipeline_id" validate:"required"` InfluxEnabled bool `yaml:"enable_influx"` EnableETCDRegistry bool `yaml:"enable_etcd_registry"` OffsetStorageURI string `yaml:"offset_storage_uri"` ETCD *ETCD `yaml:"etcd"` Influx interface{} `yaml:"influx"` }
type Sink ¶
type Sink struct { Driver sinks.SinkDriver `yaml:"driver"` Config interface{} `yaml:"config"` }
type Source ¶
type Source struct { Driver sources.SourceDriver `yaml:"driver"` Config interface{} `yaml:"config"` StreamSchema []schema.StreamSchema `yaml:"stream_schema" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.