process

package
v0.0.0-...-33a8802 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ProcessTypeController is the controller process.
	ProcessTypeController = "controller"

	// ProcessTypeScheduler is the scheduler process.
	ProcessTypeScheduler = "scheduler"

	// ProcessTypeWorker is the worker process.
	ProcessTypeWorker = "worker"

	// ProcessTypeDocker is the process controlling the docker daemon if it is run with the easeml engine.
	ProcessTypeDocker = "docker"

	// ProcessTypeMongo is the process controlling the mongo daemon if it is run with the easeml engine.
	ProcessTypeMongo = "mongo"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	DatabaseAddress string
	DatabaseName    string
	ServerAddress   string
	WorkingDir      string
	KeepAlivePeriod time.Duration
	ListenerPeriod  time.Duration
	OptimizerID     string
	RootAPIKey      chan string
	DebugLog        bool
	GpuDevices      []string
}

Context contains all information needed to run processes.

Directories

Path Synopsis
server
Package server plugs the api and the static content routers into itself and serves them.
Package server plugs the api and the static content routers into itself and serves them.

Jump to

Keyboard shortcuts

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