Documentation
¶
Index ¶
- func CreateGlobusTransferScicatJob(scicatUrl string, scicatToken string, ownerGroup string, datasetPid string, ...) (jobs.ScicatJob, error)
- func DeleteScicatJob(scicatUrl string, scicatToken string, jobId string) error
- func RestoreGlobusTransferJobsFromScicat(scicatUrl string, serviceUser serviceuser.ScicatServiceUser, pool TaskPool) error
- func UpdateGlobusTransferScicatJob(scicatUrl string, scicatToken string, jobId string, statusCode string, ...) (jobs.ScicatJob, error)
- type ArchivalJobInfo
- type JobDeleteNotExist
- type JobNotExistError
- type TaskPool
- func (tp TaskPool) AddTransferTask(globusTaskId string, datasetPid string, scicatJobId string, ...) pond.Task
- func (tp TaskPool) CanSubmitJob() bool
- func (tp TaskPool) CancelTransferTask(scicatJobId string) error
- func (tp TaskPool) DeleteTransferTask(scicatJobId string) error
- func (tp TaskPool) IsQueueSizeLimited() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteScicatJob ¶
func RestoreGlobusTransferJobsFromScicat ¶
func RestoreGlobusTransferJobsFromScicat(scicatUrl string, serviceUser serviceuser.ScicatServiceUser, pool TaskPool) error
Types ¶
type ArchivalJobInfo ¶ added in v0.5.0
type JobDeleteNotExist ¶
type JobDeleteNotExist struct {
// contains filtered or unexported fields
}
func (*JobDeleteNotExist) Error ¶
func (e *JobDeleteNotExist) Error() string
type JobNotExistError ¶
type JobNotExistError struct {
// contains filtered or unexported fields
}
func (*JobNotExistError) Error ¶
func (e *JobNotExistError) Error() string
type TaskPool ¶
type TaskPool struct {
// contains filtered or unexported fields
}
func CreateTaskPool ¶
func CreateTaskPool(scicatUrl string, globusClient globus.GlobusClient, scicatServiceUser serviceuser.ScicatServiceUser, maxConcurrency int, queueSize int, taskPollInterval uint) TaskPool
func (TaskPool) AddTransferTask ¶
func (TaskPool) CanSubmitJob ¶
func (TaskPool) CancelTransferTask ¶
func (TaskPool) DeleteTransferTask ¶
func (TaskPool) IsQueueSizeLimited ¶
Click to show internal directories.
Click to hide internal directories.