Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Processor *processor.ProcessorConf Source source.SourceConf Sink sink.SinkConf // WorkingDir is the directory where the config file resides WorkingDir string // contains filtered or unexported fields }
Config keeps bruco config information and helps to load them It also get the processor code if needed and does all the preparation required for the application to run properly
func LoadConfig ¶
LoadConfig search for a config.yaml file and parses it The config.yaml file could be the first bruco command line argument Another option is if bruco is called with an url scheme. In that case if the path is a zip archive for example, this function will loads and extracts its contents and will search for a config.yaml there.
Click to show internal directories.
Click to hide internal directories.