scheduler

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchJobScheduler

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

BatchJobScheduler is a scheduler for batch jobs that run until completion

func NewBatchJobScheduler

func NewBatchJobScheduler(params BatchJobSchedulerParams) *BatchJobScheduler

func (*BatchJobScheduler) Process

func (b *BatchJobScheduler) Process(ctx context.Context, evaluation *models.Evaluation) error

type BatchJobSchedulerParams

type BatchJobSchedulerParams struct {
	JobStore       jobstore.Store
	Planner        orchestrator.Planner
	NodeDiscoverer orchestrator.NodeDiscoverer
	NodeRanker     orchestrator.NodeRanker
	RetryStrategy  orchestrator.RetryStrategy
}

type OpsJobScheduler

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

OpsJobScheduler is a scheduler for batch jobs that run until completion

func NewOpsJobScheduler

func NewOpsJobScheduler(params OpsJobSchedulerParams) *OpsJobScheduler

func (*OpsJobScheduler) Process

func (b *OpsJobScheduler) Process(ctx context.Context, evaluation *models.Evaluation) error

type OpsJobSchedulerParams

type OpsJobSchedulerParams struct {
	JobStore       jobstore.Store
	Planner        orchestrator.Planner
	NodeDiscoverer orchestrator.NodeDiscoverer
	NodeRanker     orchestrator.NodeRanker
}

Jump to

Keyboard shortcuts

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