Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCron ¶
func InitCron(svc *svc.ServiceContext)
func JobCtoGo ¶
func JobCtoGo(cStruct *C.struct_job_info) hpcTH.Job
func SlurmdbJobConvertCToGo ¶
func SlurmdbJobConvertCToGo(cStructJob *C.slurmdb_job_rec_t) hpcTH.HistoryJob
Types ¶
type ListHistoryJobLogic ¶
func NewListHistoryJobLogic ¶
func NewListHistoryJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListHistoryJobLogic
func (*ListHistoryJobLogic) ListHistoryJob ¶
func (l *ListHistoryJobLogic) ListHistoryJob(in *hpcTH.ListHistoryJobReq) (*hpcTH.ListHistoryJobResp, error)
ListHistoryJob list all jobs from slurmdb
type ListJobLogic ¶
func NewListJobLogic ¶
func NewListJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListJobLogic
func (*ListJobLogic) ListJob ¶
func (l *ListJobLogic) ListJob(in *hpcTH.ListJobReq) (*hpcTH.ListJobResp, error)
ListJob list all jobs
type SubmitJobLogic ¶
func NewSubmitJobLogic ¶
func NewSubmitJobLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SubmitJobLogic
func (*SubmitJobLogic) SubmitJob ¶
func (l *SubmitJobLogic) SubmitJob(in *hpcTH.SubmitJobReq) (*hpcTH.SubmitJobResp, error)
Submit job
Click to show internal directories.
Click to hide internal directories.