0215
This commit is contained in:
parent
0dde352c0a
commit
5cec5af3e2
|
@ -15,80 +15,68 @@ type DomainSummary struct {
|
|||
}
|
||||
|
||||
type HistoryJob struct {
|
||||
SlurmVersion string `json:"slurmVersion" copier:"SlurmVersion"`
|
||||
AllocCPU uint32 `json:"allocCPU" copier:"AllocCPU"`
|
||||
AllocNodes uint32 `json:"allocNodes" copier:"AllocNodes"` //Nodect 分配的节点数 in shuguang
|
||||
Account string `json:"account" copier:"Account"`
|
||||
AssocId uint32 `json:"assocId" copier:"AssocId"`
|
||||
BlockId string `json:"blockId" copier:"BlockId"`
|
||||
Cluster string `json:"cluster" copier:"Cluster"`
|
||||
DerivedEc uint32 `json:"derivedEc" copier:"DerivedEc"`
|
||||
DerivedEs string `json:"derivedEs" copier:"DerivedEs"`
|
||||
Elapsed uint32 `json:"elapsed" copier:"Elapsed"`
|
||||
Eligible int64 `json:"eligible" copier:"Eligible"`
|
||||
End int64 `json:"end" copier:"End"` //JobEndTime 作业结束时间 in shuguang
|
||||
ExitCode uint32 `json:"exitCode" copier:"ExitCode"` //JobExitStatus 作业退出码 in shuguang
|
||||
Gid uint32 `json:"gid" copier:"Gid"`
|
||||
JobId uint32 `json:"jobId" copier:"JobId"` //JobId in shuguang
|
||||
JobName string `json:"jobName" copier:"JobName"` //JobName in shuguang
|
||||
Lft uint32 `json:"lft" copier:"Lft"`
|
||||
Partition string `json:"partition" copier:"Partition"` //Queue 队列名 in shuguang
|
||||
Nodes string `json:"nodes" copier:"Nodes"` //JobExecHost 作业执行节点 in shuguang
|
||||
Priority uint32 `json:"priority" copier:"Priority"`
|
||||
Qosid uint32 `json:"qosid" copier:"Qosid"`
|
||||
ReqCpus uint32 `json:"reqCpus" copier:"ReqCpus"`
|
||||
ReqMem uint32 `json:"reqMem" copier:"ReqMem"`
|
||||
Requid uint32 `json:"requid" copier:"Requid"`
|
||||
Resvid uint32 `json:"resvid" copier:"Resvid"`
|
||||
ShowFull uint32 `json:"showFull" copier:"ShowFull"`
|
||||
Start int64 `json:"start" copier:"Start"` //JobStartTime 作业启动时间 in shuguang
|
||||
State uint32 `json:"state" copier:"State"` //JobState 作业状态 in shuguang
|
||||
Submit int64 `json:"submit" copier:"Submit"`
|
||||
Suspended uint32 `json:"suspended" copier:"Suspended"`
|
||||
SysCpuSec uint32 `json:"sysCpuSec" copier:"SysCpuSec"`
|
||||
SysCpuUsec uint32 `json:"sysCpuUsec" copier:"SysCpuUsec"`
|
||||
Timelimit uint32 `json:"timelimit" copier:"Timelimit"`
|
||||
TotCpuSec uint32 `json:"totCpuSec" copier:"TotCpuSec"`
|
||||
TotCpuUsec uint32 `json:"totCpuUsec" copier:"TotCpuUsec"`
|
||||
TrackSteps uint32 `json:"trackSteps" copier:"TrackSteps"`
|
||||
Uid uint32 `json:"uid" copier:"Uid"`
|
||||
User string `json:"user" copier:"User"` //UserName 用户名 in shuguang
|
||||
UserCpuSec uint32 `json:"userCpuSec" copier:"UserCpuSec"`
|
||||
UserCpuUsec uint32 `json:"userCpuUsec" copier:"UserCpuUsec"`
|
||||
Wckey string `json:"wckey" copier:"Wckey"`
|
||||
Wckeyid uint32 `json:"wckeyid" copier:"Wckeyid"`
|
||||
WorkDir string `json:"workDir" copier:"WorkDir"` //Workdir 工作空间 in shuguang
|
||||
AcctTime string `json:"acctTime" copier:"AcctTime"` // 记账时间
|
||||
AppType string `json:"appType" copier:"AppType"` // 作业应用类型
|
||||
JobQueueTime string `json:"jobQueueTime" copier:"JobQueueTime"` //作业入队列时间
|
||||
JobWalltimeUsed string `json:"jobWalltimeUsed" copier:"JobWalltimeUs"` //作业实际使用的Walltime,单位为秒
|
||||
JobManagerId int `json:"jobmanagerId" copier:"JobManagerId"` //区域id
|
||||
}
|
||||
|
||||
type ListDomainReq struct {
|
||||
}
|
||||
|
||||
type ListDomainResp struct {
|
||||
Code int32 `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Domains []Domain `json:"domains"`
|
||||
}
|
||||
|
||||
type GetDomainSummaryReq struct {
|
||||
}
|
||||
|
||||
type GetDomainSummaryResp struct {
|
||||
Code int32 `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
DomainSummary DomainSummary `json:"domainSummary"`
|
||||
SlurmVersion string `json:"slurmVersion"`
|
||||
AllocCPU uint32 `json:"allocCPU"`
|
||||
AllocNodes uint32 `json:"allocNodes"` //Nodect 分配的节点数 in shuguang
|
||||
Account string `json:"account"`
|
||||
AssocId uint32 `json:"assocId"`
|
||||
BlockId string `json:"blockId"`
|
||||
Cluster string `json:"cluster"`
|
||||
DerivedEc uint32 `json:"derivedEc"`
|
||||
DerivedEs string `json:"derivedEs"`
|
||||
Elapsed uint32 `json:"elapsed"`
|
||||
Eligible int64 `json:"eligible"`
|
||||
End int64 `json:"end"` //JobEndTime 作业结束时间 in shuguang
|
||||
ExitCode uint32 `json:"exitCode"` //JobExitStatus 作业退出码 in shuguang
|
||||
Gid uint32 `json:"gid"`
|
||||
JobId uint32 `json:"jobId"` //JobId in shuguang
|
||||
JobName string `json:"jobName"` //JobName in shuguang
|
||||
Lft uint32 `json:"lft"`
|
||||
Partition string `json:"partition"` //Queue 队列名 in shuguang
|
||||
Nodes string `json:"nodes"` //JobExecHost 作业执行节点 in shuguang
|
||||
Priority uint32 `json:"priority"`
|
||||
Qosid uint32 `json:"qosid"`
|
||||
ReqCpus uint32 `json:"reqCpus"`
|
||||
ReqMem uint32 `json:"reqMem"`
|
||||
Requid uint32 `json:"requid"`
|
||||
Resvid uint32 `json:"resvid"`
|
||||
ShowFull uint32 `json:"showFull"`
|
||||
Start int64 `json:"start"` //JobStartTime 作业启动时间 in shuguang
|
||||
State uint32 `json:"state"` //JobState 作业状态 in shuguang
|
||||
Submit int64 `json:"submit"`
|
||||
Suspended uint32 `json:"suspended"`
|
||||
SysCpuSec uint32 `json:"sysCpuSec"`
|
||||
SysCpuUsec uint32 `json:"sysCpuUsec"`
|
||||
Timelimit uint32 `json:"timelimit"`
|
||||
TotCpuSec uint32 `json:"totCpuSec"`
|
||||
TotCpuUsec uint32 `json:"totCpuUsec"`
|
||||
TrackSteps uint32 `json:"trackSteps"`
|
||||
Uid uint32 `json:"uid"`
|
||||
User string `json:"user"` //UserName 用户名 in shuguang
|
||||
UserCpuSec uint32 `json:"userCpuSec"`
|
||||
UserCpuUsec uint32 `json:"userCpuUsec"`
|
||||
Wckey string `json:"wckey"`
|
||||
Wckeyid uint32 `json:"wckeyid"`
|
||||
WorkDir string `json:"workDir"` //Workdir 工作空间 in shuguang
|
||||
AcctTime string `json:"acctTime"` // 记账时间
|
||||
AppType string `json:"appType"` // 作业应用类型
|
||||
JobQueueTime string `json:"jobQueueTime"` //作业入队列时间
|
||||
JobWalltimeUsed string `json:"jobWalltimeUsed"` //作业实际使用的Walltime,单位为秒
|
||||
JobManagerId int `json:"jobmanagerId"` //区域id
|
||||
}
|
||||
|
||||
type ListHistoryJobReq struct {
|
||||
StartTime string `json:"start_time"`
|
||||
EndTime string `json:"end_time"`
|
||||
TimeType string `json:"time_type"`
|
||||
Start int32 `json:"start"`
|
||||
Limit int32 `json:"limit"`
|
||||
IsQueryByQueueTime int32 `json:"is_query_by_queue_time"`
|
||||
}
|
||||
|
||||
type ListHistoryJobResp struct {
|
||||
Code int32 `json:"code" copier:"Code"`
|
||||
Msg string `json:"msg" copier:"Msg"`
|
||||
RecordCount int32 `json:"record_count" copier:"RecordCount"`
|
||||
HistoryJobs []HistoryJob `json:"history_jobs" copier:"HistoryJobs"`
|
||||
Code int32 `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
RecordCount int32 `json:"record_count"`
|
||||
HistoryJobs []HistoryJob `json:"history_jobs"`
|
||||
}
|
||||
|
|
|
@ -21,87 +21,33 @@ const (
|
|||
)
|
||||
|
||||
// *****************Job(DB) Start************************
|
||||
type ApiHistoryJob struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *ApiHistoryJob) Reset() {
|
||||
*x = ApiHistoryJob{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ApiHistoryJob) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ApiHistoryJob) ProtoMessage() {}
|
||||
|
||||
func (x *ApiHistoryJob) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ApiHistoryJob.ProtoReflect.Descriptor instead.
|
||||
func (*ApiHistoryJob) Descriptor() ([]byte, []int) {
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
type HistoryJob struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// @gotags: copier:"AcctTime"
|
||||
AcctTime string `protobuf:"bytes,1,opt,name=acct_time,json=acctTime,proto3" json:"acct_time,omitempty" copier:"AcctTime"`
|
||||
// @gotags: copier:"AppType"
|
||||
AppType string `protobuf:"bytes,2,opt,name=app_type,json=appType,proto3" json:"app_type,omitempty" copier:"AppType"`
|
||||
// @gotags: copier:"End"
|
||||
JobEndTime string `protobuf:"bytes,3,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty" copier:"End"`
|
||||
// @gotags: copier:"Nodes"
|
||||
JobExecHost string `protobuf:"bytes,4,opt,name=job_exec_host,json=jobExecHost,proto3" json:"job_exec_host,omitempty" copier:"Nodes"`
|
||||
// @gotags: copier:"ExitCode"
|
||||
JobExitStatus int32 `protobuf:"varint,5,opt,name=job_exit_status,json=jobExitStatus,proto3" json:"job_exit_status,omitempty" copier:"ExitCode"`
|
||||
// @gotags: copier:"JobId"
|
||||
JobId int32 `protobuf:"varint,6,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" copier:"JobId"`
|
||||
// @gotags: copier:"JobName"
|
||||
JobName string `protobuf:"bytes,7,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty" copier:"JobName"`
|
||||
// @gotags: copier:"JobQueueTime"
|
||||
JobQueueTime string `protobuf:"bytes,8,opt,name=job_queue_time,json=jobQueueTime,proto3" json:"job_queue_time,omitempty" copier:"JobQueueTime"`
|
||||
// @gotags: copier:"Start"
|
||||
JobStartTime string `protobuf:"bytes,9,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty" copier:"Start"`
|
||||
// @gotags: copier:"State"
|
||||
JobState string `protobuf:"bytes,10,opt,name=job_state,json=jobState,proto3" json:"job_state,omitempty" copier:"State"`
|
||||
// @gotags: copier:"JobWalltimeUsed"
|
||||
JobWalltimeUsed string `protobuf:"bytes,11,opt,name=job_walltime_used,json=jobWalltimeUsed,proto3" json:"job_walltime_used,omitempty" copier:"JobWalltimeUsed"`
|
||||
// @gotags: copier:"JobManagerId"
|
||||
JobManagerId int32 `protobuf:"varint,12,opt,name=job_manager_id,json=jobManagerId,proto3" json:"job_manager_id,omitempty" copier:"JobManagerId"`
|
||||
// @gotags: copier:"AllocNodes"
|
||||
NodeCt int32 `protobuf:"varint,13,opt,name=node_ct,json=nodeCt,proto3" json:"node_ct,omitempty" copier:"AllocNodes"`
|
||||
// @gotags: copier:"Partition"
|
||||
Queue string `protobuf:"bytes,14,opt,name=queue,proto3" json:"queue,omitempty" copier:"Partition"`
|
||||
// @gotags: copier:"User"
|
||||
UserName string `protobuf:"bytes,15,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty" copier:"User"`
|
||||
// @gotags: copier:"WorkDir"
|
||||
Workdir string `protobuf:"bytes,16,opt,name=workdir,proto3" json:"workdir,omitempty" copier:"WorkDir"`
|
||||
AcctTime string `protobuf:"bytes,1,opt,name=acct_time,json=acctTime,proto3" json:"acct_time,omitempty" copier:"AcctTime"` // @gotags: copier:"AcctTime"
|
||||
AppType string `protobuf:"bytes,2,opt,name=app_type,json=appType,proto3" json:"app_type,omitempty" copier:"AppType"` // @gotags: copier:"AppType"
|
||||
JobEndTime string `protobuf:"bytes,3,opt,name=job_end_time,json=jobEndTime,proto3" json:"job_end_time,omitempty" copier:"End"` // @gotags: copier:"End"
|
||||
JobExecHost string `protobuf:"bytes,4,opt,name=job_exec_host,json=jobExecHost,proto3" json:"job_exec_host,omitempty" copier:"Nodes"` // @gotags: copier:"Nodes"
|
||||
JobExitStatus int32 `protobuf:"varint,5,opt,name=job_exit_status,json=jobExitStatus,proto3" json:"job_exit_status,omitempty" copier:"ExitCode"` // @gotags: copier:"ExitCode"
|
||||
JobId int64 `protobuf:"varint,6,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty" copier:"JobId"` // @gotags: copier:"JobId"
|
||||
JobName string `protobuf:"bytes,7,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty" copier:"JobName"` // @gotags: copier:"JobName"
|
||||
JobQueueTime string `protobuf:"bytes,8,opt,name=job_queue_time,json=jobQueueTime,proto3" json:"job_queue_time,omitempty" copier:"JobQueueTime"` // @gotags: copier:"JobQueueTime"
|
||||
JobStartTime string `protobuf:"bytes,9,opt,name=job_start_time,json=jobStartTime,proto3" json:"job_start_time,omitempty" copier:"Start"` // @gotags: copier:"Start"
|
||||
JobState string `protobuf:"bytes,10,opt,name=job_state,json=jobState,proto3" json:"job_state,omitempty" copier:"State"` // @gotags: copier:"State"
|
||||
JobWalltimeUsed string `protobuf:"bytes,11,opt,name=job_walltime_used,json=jobWalltimeUsed,proto3" json:"job_walltime_used,omitempty" copier:"JobWalltimeUsed"` // @gotags: copier:"JobWalltimeUsed"
|
||||
JobManagerId int64 `protobuf:"varint,12,opt,name=job_manager_id,json=jobManagerId,proto3" json:"job_manager_id,omitempty" copier:"JobManagerId"` // @gotags: copier:"JobManagerId"
|
||||
NodeCt int32 `protobuf:"varint,13,opt,name=node_ct,json=nodeCt,proto3" json:"node_ct,omitempty" copier:"AllocNodes"` // @gotags: copier:"AllocNodes"
|
||||
Queue string `protobuf:"bytes,14,opt,name=queue,proto3" json:"queue,omitempty" copier:"Partition"` // @gotags: copier:"Partition"
|
||||
UserName string `protobuf:"bytes,15,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty" copier:"User"` // @gotags: copier:"User"
|
||||
Workdir string `protobuf:"bytes,16,opt,name=workdir,proto3" json:"workdir,omitempty" copier:"WorkDir"` // @gotags: copier:"WorkDir"
|
||||
}
|
||||
|
||||
func (x *HistoryJob) Reset() {
|
||||
*x = HistoryJob{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[1]
|
||||
mi := &file_slurmShuguang_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
@ -114,7 +60,7 @@ func (x *HistoryJob) String() string {
|
|||
func (*HistoryJob) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryJob) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[1]
|
||||
mi := &file_slurmShuguang_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
|
@ -127,7 +73,7 @@ func (x *HistoryJob) ProtoReflect() protoreflect.Message {
|
|||
|
||||
// Deprecated: Use HistoryJob.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryJob) Descriptor() ([]byte, []int) {
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{1}
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *HistoryJob) GetAcctTime() string {
|
||||
|
@ -165,7 +111,7 @@ func (x *HistoryJob) GetJobExitStatus() int32 {
|
|||
return 0
|
||||
}
|
||||
|
||||
func (x *HistoryJob) GetJobId() int32 {
|
||||
func (x *HistoryJob) GetJobId() int64 {
|
||||
if x != nil {
|
||||
return x.JobId
|
||||
}
|
||||
|
@ -207,7 +153,7 @@ func (x *HistoryJob) GetJobWalltimeUsed() string {
|
|||
return ""
|
||||
}
|
||||
|
||||
func (x *HistoryJob) GetJobManagerId() int32 {
|
||||
func (x *HistoryJob) GetJobManagerId() int64 {
|
||||
if x != nil {
|
||||
return x.JobManagerId
|
||||
}
|
||||
|
@ -246,12 +192,19 @@ type ListHistoryJobReq struct {
|
|||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
StartTime string `protobuf:"bytes,1,opt,name=startTime,proto3" json:"startTime,omitempty" copier:"StartTime"` // @gotags: copier:"StartTime"
|
||||
EndTime string `protobuf:"bytes,2,opt,name=endTime,proto3" json:"endTime,omitempty" copier:"EndTime"` // @gotags: copier:"EndTime"
|
||||
TimeType string `protobuf:"bytes,3,opt,name=timeType,proto3" json:"timeType,omitempty" copier:"TimeType"` // @gotags: copier:"TimeType"
|
||||
Start int32 `protobuf:"varint,4,opt,name=start,proto3" json:"start,omitempty" copier:"Start"` // @gotags: copier:"Start"
|
||||
Limit int32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty" copier:"Limit"` // @gotags: copier:"Limit"
|
||||
IsQueryByQueueTime int32 `protobuf:"varint,6,opt,name=isQueryByQueueTime,proto3" json:"isQueryByQueueTime,omitempty" copier:"IsQueryByQueueTime"` // @gotags: copier:"IsQueryByQueueTime"
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) Reset() {
|
||||
*x = ListHistoryJobReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[2]
|
||||
mi := &file_slurmShuguang_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
@ -264,7 +217,7 @@ func (x *ListHistoryJobReq) String() string {
|
|||
func (*ListHistoryJobReq) ProtoMessage() {}
|
||||
|
||||
func (x *ListHistoryJobReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[2]
|
||||
mi := &file_slurmShuguang_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
|
@ -277,7 +230,49 @@ func (x *ListHistoryJobReq) ProtoReflect() protoreflect.Message {
|
|||
|
||||
// Deprecated: Use ListHistoryJobReq.ProtoReflect.Descriptor instead.
|
||||
func (*ListHistoryJobReq) Descriptor() ([]byte, []int) {
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{2}
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) GetStartTime() string {
|
||||
if x != nil {
|
||||
return x.StartTime
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) GetEndTime() string {
|
||||
if x != nil {
|
||||
return x.EndTime
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) GetTimeType() string {
|
||||
if x != nil {
|
||||
return x.TimeType
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) GetStart() int32 {
|
||||
if x != nil {
|
||||
return x.Start
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) GetLimit() int32 {
|
||||
if x != nil {
|
||||
return x.Limit
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobReq) GetIsQueryByQueueTime() int32 {
|
||||
if x != nil {
|
||||
return x.IsQueryByQueueTime
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ListHistoryJobResp struct {
|
||||
|
@ -285,20 +280,16 @@ type ListHistoryJobResp struct {
|
|||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// @gotags: copier:"Code"
|
||||
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" copier:"Code"`
|
||||
// @gotags: copier:"Msg"
|
||||
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty" copier:"Msg"`
|
||||
// @gotags: copier:"RecordCount"
|
||||
RecordCount uint32 `protobuf:"varint,3,opt,name=record_count,json=recordCount,proto3" json:"record_count,omitempty" copier:"RecordCount"`
|
||||
// @gotags: copier:"HistoryJobs"
|
||||
HistoryJobs []*HistoryJob `protobuf:"bytes,4,rep,name=history_jobs,json=historyJobs,proto3" json:"history_jobs,omitempty" copier:"HistoryJobs"`
|
||||
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty" copier:"Code"` // @gotags: copier:"Code"
|
||||
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty" copier:"Msg"` // @gotags: copier:"Msg"
|
||||
RecordCount uint32 `protobuf:"varint,3,opt,name=record_count,json=recordCount,proto3" json:"record_count,omitempty" copier:"RecordCount"` // @gotags: copier:"RecordCount"
|
||||
HistoryJobs []*HistoryJob `protobuf:"bytes,4,rep,name=history_jobs,json=historyJobs,proto3" json:"history_jobs,omitempty" copier:"HistoryJobs"` // @gotags: copier:"HistoryJobs"
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobResp) Reset() {
|
||||
*x = ListHistoryJobResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[3]
|
||||
mi := &file_slurmShuguang_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
@ -311,7 +302,7 @@ func (x *ListHistoryJobResp) String() string {
|
|||
func (*ListHistoryJobResp) ProtoMessage() {}
|
||||
|
||||
func (x *ListHistoryJobResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_slurmShuguang_proto_msgTypes[3]
|
||||
mi := &file_slurmShuguang_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
|
@ -324,7 +315,7 @@ func (x *ListHistoryJobResp) ProtoReflect() protoreflect.Message {
|
|||
|
||||
// Deprecated: Use ListHistoryJobResp.ProtoReflect.Descriptor instead.
|
||||
func (*ListHistoryJobResp) Descriptor() ([]byte, []int) {
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{3}
|
||||
return file_slurmShuguang_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *ListHistoryJobResp) GetCode() uint32 {
|
||||
|
@ -360,42 +351,52 @@ var File_slurmShuguang_proto protoreflect.FileDescriptor
|
|||
var file_slurmShuguang_proto_rawDesc = []byte{
|
||||
0x0a, 0x13, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x53, 0x68, 0x75, 0x67, 0x75, 0x61, 0x6e, 0x67, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x73, 0x6c, 0x75, 0x72, 0x6d, 0x53, 0x68, 0x75, 0x67,
|
||||
0x75, 0x61, 0x6e, 0x67, 0x22, 0x0f, 0x0a, 0x0d, 0x61, 0x70, 0x69, 0x48, 0x69, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x79, 0x4a, 0x6f, 0x62, 0x22, 0x85, 0x04, 0x0a, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72,
|
||||
0x79, 0x4a, 0x6f, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x74, 0x5f, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x74, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0c,
|
||||
0x6a, 0x6f, 0x62, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0a, 0x6a, 0x6f, 0x62, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22,
|
||||
0x0a, 0x0d, 0x6a, 0x6f, 0x62, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x48, 0x6f,
|
||||
0x73, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6a, 0x6f, 0x62, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6a, 0x6f, 0x62,
|
||||
0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f,
|
||||
0x62, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49,
|
||||
0x64, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e,
|
||||
0x6a, 0x6f, 0x62, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x51, 0x75, 0x65, 0x75, 0x65, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6a, 0x6f, 0x62, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x53,
|
||||
0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x5f,
|
||||
0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x6f, 0x62,
|
||||
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6a, 0x6f, 0x62, 0x5f, 0x77, 0x61, 0x6c,
|
||||
0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0f, 0x6a, 0x6f, 0x62, 0x57, 0x61, 0x6c, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x73, 0x65,
|
||||
0x64, 0x12, 0x24, 0x0a, 0x0e, 0x6a, 0x6f, 0x62, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x4d, 0x61,
|
||||
0x6e, 0x61, 0x67, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
||||
0x63, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x74,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x64, 0x69, 0x72, 0x18, 0x10,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x64, 0x69, 0x72, 0x22, 0x13, 0x0a,
|
||||
0x75, 0x61, 0x6e, 0x67, 0x22, 0x85, 0x04, 0x0a, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
|
||||
0x4a, 0x6f, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x63, 0x63, 0x74, 0x54, 0x69, 0x6d, 0x65,
|
||||
0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x6a,
|
||||
0x6f, 0x62, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x6a, 0x6f, 0x62, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a,
|
||||
0x0d, 0x6a, 0x6f, 0x62, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x6f, 0x62, 0x45, 0x78, 0x65, 0x63, 0x48, 0x6f, 0x73,
|
||||
0x74, 0x12, 0x26, 0x0a, 0x0f, 0x6a, 0x6f, 0x62, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6a, 0x6f, 0x62, 0x45,
|
||||
0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64,
|
||||
0x12, 0x19, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x07, 0x6a, 0x6f, 0x62, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6a,
|
||||
0x6f, 0x62, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x51, 0x75, 0x65, 0x75, 0x65, 0x54, 0x69, 0x6d,
|
||||
0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6a, 0x6f, 0x62, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x53, 0x74,
|
||||
0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x5f, 0x73,
|
||||
0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x53,
|
||||
0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6a, 0x6f, 0x62, 0x5f, 0x77, 0x61, 0x6c, 0x6c,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0f, 0x6a, 0x6f, 0x62, 0x57, 0x61, 0x6c, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x64,
|
||||
0x12, 0x24, 0x0a, 0x0e, 0x6a, 0x6f, 0x62, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6a, 0x6f, 0x62, 0x4d, 0x61, 0x6e,
|
||||
0x61, 0x67, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63,
|
||||
0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x74, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||||
0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x64, 0x69, 0x72, 0x18, 0x10, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x64, 0x69, 0x72, 0x22, 0xc3, 0x01, 0x0a,
|
||||
0x11, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4a, 0x6f, 0x62, 0x52,
|
||||
0x65, 0x71, 0x22, 0x9b, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f,
|
||||
0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d,
|
||||
0x69, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x79, 0x51,
|
||||
0x75, 0x65, 0x75, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12,
|
||||
0x69, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x79, 0x51, 0x75, 0x65, 0x75, 0x65, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x79, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12,
|
||||
|
@ -428,17 +429,16 @@ func file_slurmShuguang_proto_rawDescGZIP() []byte {
|
|||
return file_slurmShuguang_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_slurmShuguang_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_slurmShuguang_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_slurmShuguang_proto_goTypes = []interface{}{
|
||||
(*ApiHistoryJob)(nil), // 0: slurmShuguang.apiHistoryJob
|
||||
(*HistoryJob)(nil), // 1: slurmShuguang.historyJob
|
||||
(*ListHistoryJobReq)(nil), // 2: slurmShuguang.ListHistoryJobReq
|
||||
(*ListHistoryJobResp)(nil), // 3: slurmShuguang.ListHistoryJobResp
|
||||
(*HistoryJob)(nil), // 0: slurmShuguang.historyJob
|
||||
(*ListHistoryJobReq)(nil), // 1: slurmShuguang.ListHistoryJobReq
|
||||
(*ListHistoryJobResp)(nil), // 2: slurmShuguang.ListHistoryJobResp
|
||||
}
|
||||
var file_slurmShuguang_proto_depIdxs = []int32{
|
||||
1, // 0: slurmShuguang.ListHistoryJobResp.history_jobs:type_name -> slurmShuguang.historyJob
|
||||
2, // 1: slurmShuguang.SlurmShuguang.ListHistoryJob:input_type -> slurmShuguang.ListHistoryJobReq
|
||||
3, // 2: slurmShuguang.SlurmShuguang.ListHistoryJob:output_type -> slurmShuguang.ListHistoryJobResp
|
||||
0, // 0: slurmShuguang.ListHistoryJobResp.history_jobs:type_name -> slurmShuguang.historyJob
|
||||
1, // 1: slurmShuguang.SlurmShuguang.ListHistoryJob:input_type -> slurmShuguang.ListHistoryJobReq
|
||||
2, // 2: slurmShuguang.SlurmShuguang.ListHistoryJob:output_type -> slurmShuguang.ListHistoryJobResp
|
||||
2, // [2:3] is the sub-list for method output_type
|
||||
1, // [1:2] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
|
@ -453,18 +453,6 @@ func file_slurmShuguang_proto_init() {
|
|||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_slurmShuguang_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ApiHistoryJob); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_slurmShuguang_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HistoryJob); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -476,7 +464,7 @@ func file_slurmShuguang_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_slurmShuguang_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_slurmShuguang_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListHistoryJobReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -488,7 +476,7 @@ func file_slurmShuguang_proto_init() {
|
|||
return nil
|
||||
}
|
||||
}
|
||||
file_slurmShuguang_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_slurmShuguang_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListHistoryJobResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
|
@ -507,7 +495,7 @@ func file_slurmShuguang_proto_init() {
|
|||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_slurmShuguang_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue