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

Function updateNetworkPolicy

web/dashboard/src/api/networkpolicy.js:40–42  ·  view source on GitHub ↗
(cluster_name, namespace, name, data)

Source from the content-addressed store, hash-verified

38}
39
40export function updateNetworkPolicy (cluster_name, namespace, name, data) {
41 return put(`${namespaceNetworkPolicyUrlUrl(cluster_name, namespace)}/${name}`, data)
42}

Callers

nothing calls this directly

Calls 2

putFunction · 0.90

Tested by

no test coverage detected