class Agent extends Kernel

TODO.

与数据库交互的操作全部移到 Server 节点,Agent 节点严禁与数据库直接交互

Agent run job, need docker. 1. 取出一个 job,包括 job config, build key id

Properties

$pcit from Kernel

Methods

__construct()

No description

handle()

No description

void
updateJobFinishedAt(int $job_id)

No description

getJob()

TODO 从服务端获取待执行 job.

Details

at line 25
__construct()

at line 35
handle()

Exceptions

Exception

at line 87
void updateJobFinishedAt(int $job_id)

Parameters

int $job_id

Return Value

void

at line 95
getJob()

TODO 从服务端获取待执行 job.