job

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	*core.BaseCotainer
	// contains filtered or unexported fields
}

Container: the working container environment where all jobs are executed

func NewContainer

func NewContainer(ctx context.Context, conf *config.JSON) (c *Container, err error)

NewContainer: creates a working container environment based on the context ctx and JSON configuration conf If the container job ID is less than 0, an error will be reported

func (*Container) Start

func (c *Container) Start() (err error)

Start: begins the operation of the working container

Jump to

Keyboard shortcuts

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