job

package
v2.0.1-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	*internaljob.Job
	Preheat
}

func New

func New(cfg *config.Config) (*Job, error)

func (*Job) GetGroupJobState added in v2.0.1

func (j *Job) GetGroupJobState(id string) (*internaljob.GroupJobState, error)

type Preheat

type Preheat interface {
	CreatePreheat(context.Context, []model.Scheduler, types.PreheatArgs) (*internaljob.GroupJobState, error)
}

type PreheatType

type PreheatType string
const (
	PreheatImageType PreheatType = "image"
	PreheatFileType  PreheatType = "file"
)

Jump to

Keyboard shortcuts

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