Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
35
export
function
createJob(cluster_name, job) {
36
return
post(`${jobUrl(cluster_name)}/${job}`);
37
}
38
39
export
function
updateJob(cluster_name, job) {
40
return
put(`${jobUrlWithNs(cluster_name)}/${job}`);
Callers
nothing calls this directly
Calls
2
post
Function · 0.90
jobUrl
Function · 0.85
Tested by
no test coverage detected