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

Function listDeploymentsByNs

web/dashboard/src/api/deployments.js:19–21  ·  view source on GitHub ↗
(cluster_name, namespace)

Source from the content-addressed store, hash-verified

17}
18
19export function listDeploymentsByNs (cluster_name, namespace) {
20 return get(`${deploymentWithNsUrl(cluster_name, namespace)}`)
21}
22
23export function scaleDeployment (cluster_name, namespace, deployment, data) {
24 return patch(`${deploymentWithNsUrl(cluster_name, namespace)}/${deployment}/scale`, data)

Callers

nothing calls this directly

Calls 2

getFunction · 0.90
deploymentWithNsUrlFunction · 0.85

Tested by

no test coverage detected