MCPcopy
hub / github.com/1Panel-dev/KubePi / batchV1WithNsUrl

Function batchV1WithNsUrl

web/dashboard/src/api/workloads.js:18–20  ·  view source on GitHub ↗
(cluster_name, type, namespaces)

Source from the content-addressed store, hash-verified

16 return `/api/v1/proxy/${cluster_name}/k8s/apis/batch/v1/${type}`
17}
18const batchV1WithNsUrl = (cluster_name, type, namespaces) => {
19 return `/api/v1/proxy/${cluster_name}/k8s/apis/batch/v1/namespaces/${namespaces}/${type}`
20}
21
22export function listWorkLoads (
23 cluster_name,

Callers 5

getWorkLoadByNameFunction · 0.85
deleteWorkLoadFunction · 0.85
forceDeleteWorkLoadFunction · 0.85
createWorkLoadFunction · 0.85
updateWorkLoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected