Documentation ¶ Index ¶ Variables func RunWorker(conf *Config) error type Config type Worker func NewWorker(conf *Config) (*Worker, error) func (w *Worker) Start() Constants ¶ This section is empty. Variables ¶ View Source var Verbose bool TODO: maybe remove this as a global var Functions ¶ func RunWorker ¶ func RunWorker(conf *Config) error configFileName can be empty which means default config Types ¶ type Config ¶ type Config struct { // sans trailing slash ControllerUrl string Tags []string SleepSeconds int MaxJobs int TimeoutSeconds int Syslog bool SkipVerify bool CAFile string } type Worker ¶ type Worker struct { // contains filtered or unexported fields } func NewWorker ¶ func NewWorker(conf *Config) (*Worker, error) func (*Worker) Start ¶ func (w *Worker) Start() This blocks and never ends except in a panic Source Files ¶ View all Source files config.go executor.go session.go worker.go Click to show internal directories. Click to hide internal directories.