MCPcopy Index your code
hub / github.com/1Panel-dev/KubePi / createJob

Function createJob

web/dashboard/src/api/jobs.js:35–37  ·  view source on GitHub ↗
(cluster_name, job)

Source from the content-addressed store, hash-verified

33}
34
35export function createJob(cluster_name, job) {
36 return post(`${jobUrl(cluster_name)}/${job}`);
37}
38
39export function updateJob(cluster_name, job) {
40 return put(`${jobUrlWithNs(cluster_name)}/${job}`);

Callers

nothing calls this directly

Calls 2

postFunction · 0.90
jobUrlFunction · 0.85

Tested by

no test coverage detected