workers

package
v0.0.0-...-0473bba Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	HOURS_AGO = 3600 * 48
)

Variables

View Source
var DefaultBuildWorker = new(BuildWorker)
View Source
var DefaultDeployWorker = new(DeployWorker)
View Source
var DefaultNotifyWorker = new(NotifyWorker)

Functions

This section is empty.

Types

type BuildWorker

type BuildWorker struct{}

func (*BuildWorker) Deal

func (t *BuildWorker) Deal()

Deal build tasks

func (*BuildWorker) DealOnce

func (t *BuildWorker) DealOnce()

func (*BuildWorker) NotifyBuildEnd

func (t *BuildWorker) NotifyBuildEnd()

notify which builds are finished (success or failed)

func (*BuildWorker) NotifyBuildEndOnce

func (t *BuildWorker) NotifyBuildEndOnce()

type DeployWorker

type DeployWorker struct{}

func (*DeployWorker) Deal

func (t *DeployWorker) Deal()

func (*DeployWorker) DealOnce

func (t *DeployWorker) DealOnce()

type NotifyWorker

type NotifyWorker struct{}

func (*NotifyWorker) DealNotifies

func (t *NotifyWorker) DealNotifies()

consume notify queue

Jump to

Keyboard shortcuts

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