queue

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enqueuer

type Enqueuer interface {
	Enqueue(request harbor.ScanRequest) (job.ScanJob, error)
}

func NewEnqueuer

func NewEnqueuer(config etc.JobQueueConfig, dataStore store.DataStore) Enqueuer

type Worker

type Worker interface {
	Start()
	Stop()
}

func NewWorker

func NewWorker(config etc.JobQueueConfig) Worker

Jump to

Keyboard shortcuts

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