workers

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(c *di.Container)

Types

type BuildQueue

type BuildQueue struct {
	// contains filtered or unexported fields
}

BuildQueue is a background queue that triggers builds for enqueued changes.

func New

func New(logger *zap.Logger, queue queue.Queue, ciService *service_ci.Service) *BuildQueue

func (*BuildQueue) EnqueueChange

func (r *BuildQueue) EnqueueChange(ctx context.Context, ch *change.Change) error

func (*BuildQueue) Start

func (r *BuildQueue) Start(ctx context.Context) error

Start starts the runner.

Jump to

Keyboard shortcuts

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