Documentation ¶
Index ¶
- func InitCron(svc *svc.ServiceContext)
- type CpuCoreLogic
- type DeleteJobLogic
- type FileContentLogic
- type GetACClusterIdLogic
- type GetACTokenLogic
- type GetComputingPowerLogic
- type GetGeneralInfoLogic
- type GetJobDetailLogic
- type HistoryJobDetailLogic
- type JobsLogic
- type ListHistoryJobLogic
- type ListJobLogic
- type ListJobManagerLogic
- type ParaStorQuotaLogic
- type QueryQueueDetailsLogic
- type QueryUserQuotasLimitLogic
- type QueueJobsLogic
- type SelectQueueByUserLogic
- type SubmitJobLogic
- type WallTimeLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCron ¶
func InitCron(svc *svc.ServiceContext)
Types ¶
type CpuCoreLogic ¶
func NewCpuCoreLogic ¶
func NewCpuCoreLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CpuCoreLogic
func (*CpuCoreLogic) CpuCore ¶
func (l *CpuCoreLogic) CpuCore(in *hpcAC.CpuCoreReq) (*hpcAC.CpuCoreResp, error)
type DeleteJobLogic ¶
func NewDeleteJobLogic ¶
func NewDeleteJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteJobLogic
func (*DeleteJobLogic) DeleteJob ¶
func (l *DeleteJobLogic) DeleteJob(in *hpcAC.DeleteJobReq) (*hpcAC.DeleteJobResp, error)
DeleteJob delete job
type FileContentLogic ¶
func NewFileContentLogic ¶
func NewFileContentLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FileContentLogic
func (*FileContentLogic) FileContent ¶
func (l *FileContentLogic) FileContent(in *hpcAC.FileDataReq) (*hpcAC.FileContentResp, error)
FileContent 查看文件内容
type GetACClusterIdLogic ¶
func NewGetACClusterIdLogic ¶
func NewGetACClusterIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetACClusterIdLogic
func (*GetACClusterIdLogic) GetACClusterId ¶
func (l *GetACClusterIdLogic) GetACClusterId(in *hpcAC.ACClusterReq) (*hpcAC.ClusterResp, error)
GetACClusterId 曙光ac获取clusterid
type GetACTokenLogic ¶
func NewGetACTokenLogic ¶
func NewGetACTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetACTokenLogic
func (*GetACTokenLogic) GetACToken ¶
func (l *GetACTokenLogic) GetACToken(in *hpcAC.ACTokenReq) (*hpcAC.TokenResp, error)
GetACToken 曙光ac获取token
type GetComputingPowerLogic ¶
func NewGetComputingPowerLogic ¶
func NewGetComputingPowerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetComputingPowerLogic
func (*GetComputingPowerLogic) GetComputingPower ¶
func (l *GetComputingPowerLogic) GetComputingPower(in *hpcAC.ResourceReq) (*hpcAC.CpResp, error)
获取曙光账号算力
type GetGeneralInfoLogic ¶
func NewGetGeneralInfoLogic ¶
func NewGetGeneralInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetGeneralInfoLogic
func (*GetGeneralInfoLogic) GetGeneralInfo ¶
func (l *GetGeneralInfoLogic) GetGeneralInfo(in *hpcAC.ResourceReq) (*hpcAC.GiResp, error)
获取曙光账号cpu,内存,存储信息
type GetJobDetailLogic ¶
func NewGetJobDetailLogic ¶
func NewGetJobDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetJobDetailLogic
func (*GetJobDetailLogic) GetJobDetail ¶
func (l *GetJobDetailLogic) GetJobDetail(in *hpcAC.JobDetailReq) (*hpcAC.GetJobDetailResp, error)
GetJobDetail get job detail
type HistoryJobDetailLogic ¶
func NewHistoryJobDetailLogic ¶
func NewHistoryJobDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HistoryJobDetailLogic
func (*HistoryJobDetailLogic) HistoryJobDetail ¶
func (l *HistoryJobDetailLogic) HistoryJobDetail(in *hpcAC.HistoryJobDetailReq) (*hpcAC.HistoryJobDetailResp, error)
type JobsLogic ¶
type ListHistoryJobLogic ¶
func NewListHistoryJobLogic ¶
func NewListHistoryJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListHistoryJobLogic
func (*ListHistoryJobLogic) ListHistoryJob ¶
func (l *ListHistoryJobLogic) ListHistoryJob(in *hpcAC.ListHistoryJobReq) (*hpcAC.ListHistoryJobResp, error)
ListHistoryJob list all history jobs
type ListJobLogic ¶
func NewListJobLogic ¶
func NewListJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListJobLogic
func (*ListJobLogic) ListJob ¶
func (l *ListJobLogic) ListJob(in *hpcAC.ListJobReq) (*hpcAC.ListJobResp, error)
ListJob list all jobs
type ListJobManagerLogic ¶
func NewListJobManagerLogic ¶
func NewListJobManagerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListJobManagerLogic
func (*ListJobManagerLogic) ListJobManager ¶
func (l *ListJobManagerLogic) ListJobManager(in *hpcAC.JobManagerReq) (*hpcAC.ListJobManagerResp, error)
ListJobManager list all job managers
type ParaStorQuotaLogic ¶
func NewParaStorQuotaLogic ¶
func NewParaStorQuotaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ParaStorQuotaLogic
func (*ParaStorQuotaLogic) ParaStorQuota ¶
func (l *ParaStorQuotaLogic) ParaStorQuota(in *hpcAC.ParaStorQuotaReq) (*hpcAC.ParaStorQuotaResp, error)
ParaStor Quota
type QueryQueueDetailsLogic ¶
func NewQueryQueueDetailsLogic ¶
func NewQueryQueueDetailsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryQueueDetailsLogic
func (*QueryQueueDetailsLogic) QueryQueueDetails ¶
func (l *QueryQueueDetailsLogic) QueryQueueDetails(in *hpcAC.QueueReq) (*hpcAC.QueueDetailsResp, error)
QueryQueueDetails 查询队列资源详细信息
type QueryUserQuotasLimitLogic ¶
func NewQueryUserQuotasLimitLogic ¶
func NewQueryUserQuotasLimitLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryUserQuotasLimitLogic
func (*QueryUserQuotasLimitLogic) QueryUserQuotasLimit ¶
func (l *QueryUserQuotasLimitLogic) QueryUserQuotasLimit(in *hpcAC.QueueReq) (*hpcAC.UserQuotasLimitResp, error)
QueryUserQuotasLimit 查询用户资源限制信息
type QueueJobsLogic ¶
func NewQueueJobsLogic ¶
func NewQueueJobsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueueJobsLogic
func (*QueueJobsLogic) QueueJobs ¶
func (l *QueueJobsLogic) QueueJobs(in *hpcAC.QueueJobsReq) (*hpcAC.QueueJobsResp, error)
QueueJobs
type SelectQueueByUserLogic ¶
func NewSelectQueueByUserLogic ¶
func NewSelectQueueByUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SelectQueueByUserLogic
type SubmitJobLogic ¶
func NewSubmitJobLogic ¶
func NewSubmitJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SubmitJobLogic
func (*SubmitJobLogic) SubmitJob ¶
func (l *SubmitJobLogic) SubmitJob(in *hpcAC.SubmitJobReq) (*hpcAC.SubmitJobResp, error)
type WallTimeLogic ¶
func NewWallTimeLogic ¶
func NewWallTimeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WallTimeLogic
func (*WallTimeLogic) WallTime ¶
func (l *WallTimeLogic) WallTime(in *hpcAC.WallTimeReq) (*hpcAC.WallTimeResp, error)
Source Files ¶
- cpucorelogic.go
- cronlogic.go
- deletejoblogic.go
- filecontentlogic.go
- getacclusteridlogic.go
- getactokenlogic.go
- getcomputingpowerlogic.go
- getgeneralinfologic.go
- getjobdetaillogic.go
- historyjobdetaillogic.go
- jobslogic.go
- listhistoryjoblogic.go
- listjoblogic.go
- listjobmanagerlogic.go
- parastorquotalogic.go
- queryqueuedetailslogic.go
- queryuserquotaslimitlogic.go
- queuejobslogic.go
- selectqueuebyuserlogic.go
- submitjoblogic.go
- walltimelogic.go
Click to show internal directories.
Click to hide internal directories.