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

Function createApiServer

web/dashboard/src/api/apis.js:14–16  ·  view source on GitHub ↗
(cluster_name, data)

Source from the content-addressed store, hash-verified

12}
13
14export function createApiServer (cluster_name, data) {
15 return post(`${apiServerUrl(cluster_name)}`, data)
16}
17export function updateApiServer (cluster_name, name, data) {
18 return patch(`${apiServerUrl(cluster_name)}/${name}`, data)
19}

Callers

nothing calls this directly

Calls 2

postFunction · 0.90
apiServerUrlFunction · 0.85

Tested by

no test coverage detected