watcher

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapJobDefinitionToScheduler

func MapJobDefinitionToScheduler(
	j metaschedulerabi.JobDefinition,
	t uint64,
	body string,
) scheduler.JobDefinition

Types

type Watcher

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

func New

func New(
	metascheduler metascheduler.MetaScheduler,
	scheduler scheduler.Scheduler,
	sbatch sbatch.Client,
	pollingTime time.Duration,
	resourceManager *lock.ResourceManager,
	gridLoggerDialer gridlogger.Dialer,
) *Watcher

func (*Watcher) Watch

func (w *Watcher) Watch(parent context.Context) error

Watch incoming jobs and handles it.

Jump to

Keyboard shortcuts

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