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.
Click to show internal directories.
Click to hide internal directories.