MCPcopy
hub / github.com/cortexlabs/cortex / uploadInProgressFile

Function uploadInProgressFile

pkg/operator/resources/job/cache.go:79–85  ·  view source on GitHub ↗
(jobKey spec.JobKey)

Source from the content-addressed store, hash-verified

77}
78
79func uploadInProgressFile(jobKey spec.JobKey) error {
80 err := config.AWS.UploadStringToS3("", config.ClusterConfig.Bucket, inProgressKey(jobKey))
81 if err != nil {
82 return err
83 }
84 return nil
85}
86
87// e.g. <cluster_uid>/jobs/<job_api_kind>/in_progress
88func allInProgressKey(kind userconfig.Kind) string {

Callers 2

SetEnqueuingStatusFunction · 0.85
SetRunningStatusFunction · 0.85

Calls 2

inProgressKeyFunction · 0.85
UploadStringToS3Method · 0.80

Tested by

no test coverage detected