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", File: FileStorage{ Directory: ".pipelines", Extention: ".toml", }, }, } )
Functions ¶
Types ¶
type Config ¶
type Config struct { Common Common `toml:"common" yaml:"common"` Engine Engine `toml:"engine" yaml:"engine"` }
func ReadConfig ¶
type Engine ¶
type Engine struct { Storage string `toml:"storage" yaml:"storage"` File FileStorage `toml:"fs" yaml:"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.