MCPcopy Index your code
hub / github.com/cortexlabs/cortex / allInProgressForAPIKey

Function allInProgressForAPIKey

pkg/operator/resources/job/cache.go:95–97  ·  view source on GitHub ↗

e.g. /jobs/ /in_progress/

(kind userconfig.Kind, apiName string)

Source from the content-addressed store, hash-verified

93
94// e.g. <cluster_uid>/jobs/<job_api_kind>/in_progress/<api_name>
95func allInProgressForAPIKey(kind userconfig.Kind, apiName string) string {
96 return path.Join(allInProgressKey(kind), apiName)
97}
98
99// e.g. <cluster_uid>/jobs/<job_api_kind>/in_progress/<api_name>/<job_id>
100func inProgressKey(jobKey spec.JobKey) string {

Callers 3

inProgressKeyFunction · 0.85

Calls 1

allInProgressKeyFunction · 0.85

Tested by

no test coverage detected