Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct { JobName string `json:"name"` Dockerfile string `json:"docker_file"` Timeout int64 `json:"timeout"` Metrics []Metric `json:"metrics"` }
Job - джоба
type JobGroup ¶
type JobGroup struct { NameGroup string `json:"name"` Order int `json:"order"` Jobs []Job `json:"jobs"` }
JobGroup - группа джоб
type PortalTask ¶
PortalTask - формальное описание задачи, приходящей из портала
func (*PortalTask) ConvertToAgentTask ¶
func (task *PortalTask) ConvertToAgentTask() models.TaskConfig
ConvertToAgentTask - конвертер в модель агента
Click to show internal directories.
Click to hide internal directories.