worker

package
v0.0.0-...-1927dbb Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JobQueueSize defines max job queue size.
	JobQueueSize = 1000
)

Variables

This section is empty.

Functions

func Feed

func Feed(tmplID uint, command int, content string, operator string, serviceUID, namespace string, revision uint) error

Feed adds new job to job queue.

func Start

func Start()

Start starts task worker.

func Stop

func Stop()

Stop stops worker and close job queue.

Types

This section is empty.

Jump to

Keyboard shortcuts

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