queue

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 10 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.JobQueue, redisPool *redis.Pool, store persistence.Store) Enqueuer

type Worker

type Worker interface {
	Start()
	Stop()
}

func NewWorker

func NewWorker(config etc.JobQueue, redisPool *redis.Pool, controller scan.Controller) Worker

Jump to

Keyboard shortcuts

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