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

Function updateRole

web/dashboard/src/api/roles.js:47–49  ·  view source on GitHub ↗
(cluster_name, namespace, name, data)

Source from the content-addressed store, hash-verified

45}
46
47export function updateRole (cluster_name, namespace, name, data) {
48 return put(`${namespaceRoleUrl(cluster_name, namespace)}/${name}`, data)
49}
50

Callers

nothing calls this directly

Calls 2

putFunction · 0.90
namespaceRoleUrlFunction · 0.85

Tested by

no test coverage detected