Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct { Id uint32 `json:"id" gorm:"primaryKey;column:id"` Uuid string `json:"uuid" gorm:"column:uuid"` WorkerId uint32 `json:"workerId" gorm:"column:worker_id"` WorkerSnapshot string `json:"workerSnapshot" gorm:"column:worker_snapshot"` TaskId uint32 `json:"taskId" gorm:"column:task_id"` TaskSnapshot string `json:"taskSnapshot" gorm:"column:task_snapshot"` StartAt int64 `json:"startAt" gorm:"column:start_at"` EndAt int64 `json:"endAt" gorm:"column:end_at"` Content string `json:"content" gorm:"column:content"` Status string `json:"status" gorm:"column:status"` }
type Task ¶
type Task struct { GroupId uint32 `json:"groupId" gorm:"column:group_id"` Name string `json:"name" gorm:"column:name"` Tag string `json:"tag" gorm:"column:tag"` Spec string `json:"spec" gorm:"column:spec"` Status *bool `json:"status" gorm:"column:status"` WorkerType string `json:"workerType" gorm:"column:worker_type"` WorkerGroupId *uint32 `json:"workerGroupId" gorm:"column:worker_group_id"` WorkerId *uint32 `json:"workerId" gorm:"column:worker_id"` ExecType string `json:"execType" gorm:"column:exec_type"` ExecValue string `json:"execValue" gorm:"column:exec_value"` ExpectCode uint32 `json:"expectCode" gorm:"column:expect_code"` RetryCount uint32 `json:"retryCount" gorm:"column:retry_count"` RetryWaitTime uint32 `json:"retryWaitTime" gorm:"column:retry_wait_time"` MaxExecTime uint32 `json:"maxExecTime" gorm:"column:max_exec_time"` Version string `json:"version" gorm:"column:version"` Description *string `json:"description" gorm:"column:description"` Group *TaskGroup `json:"group"` Worker *Worker `json:"worker"` WorkerGroup *WorkerGroup `json:"workerGroup"` types.BaseModel }
type Worker ¶
type Worker struct { Name string `json:"name" gorm:"column:name"` Ip string `json:"ip" gorm:"column:ip"` GroupId *uint32 `json:"groupId" gorm:"column:group_id"` Status *bool `json:"status" gorm:"column:status"` Description *string `json:"description" gorm:"column:description"` Group *WorkerGroup `json:"group"` types.BaseModel }
Click to show internal directories.
Click to hide internal directories.