job

package
v2.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 15 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 interface {
	CreatePreheat([]string, types.CreatePreheatRequest) (*types.Preheat, error)
	GetPreheat(string) (*types.Preheat, error)
}

func New

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

type Preheat

type Preheat interface {
	CreatePreheat(hostnames []string, json types.CreatePreheatRequest) (*types.Preheat, 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