You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package fifo
-
- const (
- ADD = "add"
- UPDATE = "update"
- DELETE = "delete"
- RETRY = "retry"
- )
-
- type Data struct {
- Event string
- TaskType string
- Data interface{}
- }
-
- type IData interface {
- }
-
- type Cloud struct {
- Id int64 `db:"id"` // id
- TaskId int64 `db:"task_id"` // 任务id
- ParticipantId int64 `db:"participant_id"` // 集群静态信息id
- ApiVersion string `db:"api_version"` //api版本
- Name string `db:"name"` // 名称
- Namespace string `db:"namespace"` // 命名空间
- Kind string `db:"kind"` // 种类
- Status string `db:"status"` // 状态
- StartTime string `db:"start_time"` // 开始时间
- RunningTime int64 `db:"running_time"` // 运行时长
- YamlString string `db:"yaml_string"`
- Result string `db:"result"` // 运行结果
- }
-
- type Hpc struct {
- Id int64 `db:"id"` // id
- TaskId int64 `db:"task_id"` // 任务id
- ParticipantId int64 `db:"participant_id"` // 集群静态信息id
- JobId string `db:"job_id"` // 作业id
- Name string `db:"name"` // 名称
- Status string `db:"status"` // 状态
- StartTime string `db:"start_time"` // 开始时间
- RunningTime int64 `db:"running_time"` // 运行时间
- CardCount int64 `db:"card_count"` // 卡数
- WorkDir string `db:"work_dir"`
- WallTime string `db:"wall_time"`
- Result string `db:"result"`
- YamlString string `db:"yaml_string"`
- CmdScript string `db:"cmd_script"`
- //DerivedEs string `db:"derived_es"`
- //Cluster string `db:"cluster"`
- //BlockId string `db:"block_id"`
- //AllocNodes uint32 `db:"alloc_nodes"`
- //AllocCpu uint32 `db:"alloc_cpu"`
- //Version string `db:"version"`
- //Account string `db:"account"`
- //ExitCode uint32 `db:"exit_code"`
- //AssocId uint32 `db:"assoc_id"`
- AppType string `db:"app_type"`
- AppName string `db:"app_name"`
- Queue string `db:"queue"`
- SubmitType string `db:"submit_type"`
- NNode string `db:"n_node"`
- StdOutFile string `db:"std_out_file"`
- StdErrFile string `db:"std_err_file"`
- }
|