pipengine

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 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 Engine

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

func New

func New(
	dbClient *dbclient.Client,
) *Engine

func (*Engine) OnceDo

func (engine *Engine) OnceDo(
	r *reconciler.Reconciler,
) error

func (*Engine) Send

func (engine *Engine) Send(pipelineID uint64)

func (*Engine) StartGC added in v1.3.0

func (engine *Engine) StartGC(ctx context.Context)

func (*Engine) StartReconciler added in v1.3.0

func (engine *Engine) StartReconciler(ctx context.Context)

func (*Engine) WaitDBGC

func (engine *Engine) WaitDBGC(pipelineID uint64, ttl uint64, needArchive bool)

Directories

Path Synopsis
Package queue includes: - priority queue - enhanced queue based on priority queue - throttler for pipeline based on enhanced queue
Package queue includes: - priority queue - enhanced queue based on priority queue - throttler for pipeline based on enhanced queue
@Title This file is used to cache the objects that need to be reused in the reconciler @Description The cached data is placed in the global sync.Map, you need to call clearPipelineContextCaches to clean up the corresponding data after you use it at will
@Title This file is used to cache the objects that need to be reused in the reconciler @Description The cached data is placed in the global sync.Map, you need to call clearPipelineContextCaches to clean up the corresponding data after you use it at will

Jump to

Keyboard shortcuts

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