containerdtracker

package
v0.3.25 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerDTracker

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

ContainerDTracker is an implementation of the drmaa2.JobTracker interface for containerd

func (*ContainerDTracker) AddArrayJob

func (dt *ContainerDTracker) AddArrayJob(jt drmaa2interface.JobTemplate, begin int, end int, step int, maxParallel int) (string, error)

func (*ContainerDTracker) AddJob

func (*ContainerDTracker) DeleteJob

func (dt *ContainerDTracker) DeleteJob(jobid string) error

func (*ContainerDTracker) JobControl

func (t *ContainerDTracker) JobControl(id string, action drmaa2.JobControlAction) error

JobControl allows control actions to be performed on the job with the given ID

func (*ContainerDTracker) JobInfo

func (dt *ContainerDTracker) JobInfo(jobID string) (drmaa2interface.JobInfo, error)

func (*ContainerDTracker) JobState

func (t *ContainerDTracker) JobState(id string) (drmaa2.JobState, error)

JobState returns the current state of the job with the given ID

func (*ContainerDTracker) ListArrayJobs

func (dt *ContainerDTracker) ListArrayJobs(string) ([]string, error)

func (*ContainerDTracker) ListJobs

func (dt *ContainerDTracker) ListJobs() ([]string, error)

func (*ContainerDTracker) Wait

func (dt *ContainerDTracker) Wait(jobid string, timeout time.Duration, state ...drmaa2interface.JobState) error

Jump to

Keyboard shortcuts

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