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

Function updateResourceQuota

web/dashboard/src/api/resourcequota.js:39–41  ·  view source on GitHub ↗
(cluster_name, namespace,name, data)

Source from the content-addressed store, hash-verified

37}
38
39export function updateResourceQuota (cluster_name, namespace,name, data) {
40 return put(`${namespaceResourceQuotaUrl(cluster_name, namespace)}/${name}`, data)
41}
42
43export function listResourceQuotaByNamespace(cluster_name,namespace) {
44 return get(`${namespaceResourceQuotaUrl(cluster_name, namespace)}`)

Callers

nothing calls this directly

Calls 2

putFunction · 0.90

Tested by

no test coverage detected