backfill

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackfillScenario

type BackfillScenario struct {
	TicketsPerMatch           int
	MaxTicketsPerNotFullMatch int
	BackfillDeleteCond        func(*pb.Backfill) bool
}

func Scenario

func Scenario() *BackfillScenario

func (*BackfillScenario) Backfill

func (s *BackfillScenario) Backfill() *pb.Backfill

func (*BackfillScenario) Evaluate

func (s *BackfillScenario) Evaluate(stream pb.Evaluator_EvaluateServer) error

func (*BackfillScenario) MatchFunction

func (s *BackfillScenario) MatchFunction(p *pb.MatchProfile, poolBackfills map[string][]*pb.Backfill, poolTickets map[string][]*pb.Ticket) ([]*pb.Match, error)

func (*BackfillScenario) Profiles

func (s *BackfillScenario) Profiles() []*pb.MatchProfile

func (*BackfillScenario) Ticket

func (s *BackfillScenario) Ticket() *pb.Ticket

Jump to

Keyboard shortcuts

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