MCPcopy Create free account
hub / github.com/1Panel-dev/KubePi / getNode

Function getNode

web/dashboard/src/api/nodes.js:24–26  ·  view source on GitHub ↗
(cluster_name, name)

Source from the content-addressed store, hash-verified

22}
23
24export function getNode (cluster_name, name) {
25 return get(`${nodeUrl(cluster_name)}/${name}`)
26}
27
28export function cordonNode (cluster_name, name, data) {
29 return patch(`${nodeUrl(cluster_name)}/${name}`, data)

Callers

nothing calls this directly

Calls 2

getFunction · 0.90
nodeUrlFunction · 0.85

Tested by

no test coverage detected