Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Default = Config{ Common: Common{ LogLevel: "info", LogFormat: "logfmt", HttpPort: ":9600", }, Engine: Engine{ Storage: "fs", FailFast: false, File: FileStorage{ Directory: ".pipelines", Extention: ".toml", }, }, } )
Functions ¶
Types ¶
type Common ¶
type Common struct { LogLevel string `toml:"log_level" yaml:"log_level" json:"log_level"` LogFormat string `toml:"log_format" yaml:"log_format" json:"log_format"` LogFields map[string]string `toml:"log_fields" yaml:"log_fields" json:"log_fields"` HttpPort string `toml:"http_port" yaml:"http_port" json:"http_port"` }
type Config ¶
type Config struct { Common Common `toml:"common" yaml:"common" json:"common"` Engine Engine `toml:"engine" yaml:"engine" json:"engine"` }
func ReadConfig ¶
type Engine ¶
type Engine struct { Storage string `toml:"storage" yaml:"storage" json:"storage"` FailFast bool `toml:"fail_fast" yaml:"fail_fast" json:"fail_fast"` File FileStorage `toml:"fs" yaml:"fs" json:"fs"` }
type FileStorage ¶
type PipeSettings ¶
type Pipeline ¶
type Pipeline struct { Settings PipeSettings `toml:"settings" yaml:"settings" json:"settings"` Inputs []PluginSet `toml:"inputs" yaml:"inputs" json:"inputs"` Processors []PluginSet `toml:"processors" yaml:"processors" json:"processors"` Outputs []PluginSet `toml:"outputs" yaml:"outputs" json:"outputs"` Keykeepers []PluginSet `toml:"keykeepers" yaml:"keykeepers" json:"keykeepers"` }
TODO: rewrite to structs
type Plugin ¶
func (Plugin) Serializer ¶
Click to show internal directories.
Click to hide internal directories.