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

Function createStorageClass

web/dashboard/src/api/storageclass.js:34–36  ·  view source on GitHub ↗
(cluster_name, data)

Source from the content-addressed store, hash-verified

32}
33
34export function createStorageClass (cluster_name, data) {
35 return post(`${scUrl(cluster_name,)}`, data)
36}
37
38export function updateStorageClass (cluster_name, name, data) {
39 return put(`${scUrl(cluster_name,)}/${name}`, data)

Callers

nothing calls this directly

Calls 2

postFunction · 0.90
scUrlFunction · 0.85

Tested by

no test coverage detected