Documentation ¶
Index ¶
- func Exec(cfg config.Config) (err error)
- func HoldExit()
- func LoadConfig(filePath string) (cfg config.Config, err error)
- func NewConnection(cfg config.Connection, manager *plugins.PluginManager) (res itf.EventConnection, err error)
- func NewRunnerManager(cfg config.Runner) (res itf.RunnerManager, err error)
- func SetupLogger(cfg config.Logger) (err error)
- type EnvConfig
- type Executor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
func NewConnection(cfg config.Connection, manager *plugins.PluginManager) (res itf.EventConnection, err error)
func NewRunnerManager ¶
func NewRunnerManager(cfg config.Runner) (res itf.RunnerManager, err error)
func SetupLogger ¶
Types ¶
type EnvConfig ¶
type EnvConfig struct {
ConfigPath string `env:"CONFIG_PATH" envDefault:"./config.yaml"`
}
func LoadEnvConfig ¶
Click to show internal directories.
Click to hide internal directories.