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

Function updateApiServer

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

Source from the content-addressed store, hash-verified

15 return post(`${apiServerUrl(cluster_name)}`, data)
16}
17export function updateApiServer (cluster_name, name, data) {
18 return patch(`${apiServerUrl(cluster_name)}/${name}`, data)
19}
20export function getApiService (cluster_name, name) {
21 return get(`${apiServerUrl(cluster_name)}/${name}`)
22}

Callers

nothing calls this directly

Calls 2

patchFunction · 0.90
apiServerUrlFunction · 0.85

Tested by

no test coverage detected