e.g. /jobs/ /in_progress/ /
(jobKey spec.JobKey)
| 98 | |
| 99 | // e.g. <cluster_uid>/jobs/<job_api_kind>/in_progress/<api_name>/<job_id> |
| 100 | func inProgressKey(jobKey spec.JobKey) string { |
| 101 | return path.Join(allInProgressForAPIKey(jobKey.Kind, jobKey.APIName), jobKey.ID) |
| 102 | } |
| 103 | |
| 104 | func jobKeyFromInProgressKey(s3Key string) spec.JobKey { |
| 105 | pathSplit := strings.Split(s3Key, "/") |
no test coverage detected