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

Function createResourceQuota

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

Source from the content-addressed store, hash-verified

33}
34
35export function createResourceQuota (cluster_name, namespace, data) {
36 return post(`${namespaceResourceQuotaUrl(cluster_name, namespace)}`, data)
37}
38
39export function updateResourceQuota (cluster_name, namespace,name, data) {
40 return put(`${namespaceResourceQuotaUrl(cluster_name, namespace)}/${name}`, data)

Callers

nothing calls this directly

Calls 2

postFunction · 0.90

Tested by

no test coverage detected