worker

package
v0.0.0-...-5db00e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns the worker command

func NewDefaultWorker

func NewDefaultWorker(conf config.Worker, taskID string, log *logger.Logger) (worker.Worker, error)

NewDefaultWorker returns a new configured DefaultWorker instance.

func Run

func Run(conf config.Worker, taskID string, log *logger.Logger) error

Run configures and runs a Worker

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL