backfill

package
v0.0.0-...-c39517e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	CreateBackfill(ctx context.Context, backfill *pb.Backfill, filterManager filter.Manager) (*pb.Backfill, error)
	UpdateBackfill(ctx context.Context, backfill *pb.Backfill, filterManager filter.Manager) (*pb.Backfill, error)
	MakeMatchWithBackfill(ctx context.Context, backfill *pb.Backfill, ticketIDs []string, filterManager filter.Manager) error
	GetBackfill(ctx context.Context, backfillID string) (*pb.Backfill, error)
	GetAvailableBackfill(ctx context.Context, profile string, max int64) ([]*pb.Backfill, error)
	AcknowledgeBackfill(ctx context.Context, backfillID string, assignment *pb.Assignment, filterManager filter.Manager) (*pb.Backfill, error)
	DeleteBackfill(ctx context.Context, backfillID string, filterManager filter.Manager) error
}

Manager specifies the interface for managing Backfill

func NewManager

func NewManager(kvStore kv.Store, sortedSet kv.SortedSet, set kv.Set, lockManager dlm.DLM, ticketsManager tickets.Manager, backfillLockExpirySeconds int64) Manager

NewManager returns a new Backfill Manager

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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