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

Function editSecret

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

Source from the content-addressed store, hash-verified

40}
41
42export function editSecret (cluster_name, namespace, name, data) {
43 return put(`${namespaceSecretUrl(cluster_name, namespace)}/${name}`, data)
44}
45
46
47export function listSecretsWithNsAndLabelSelector (cluster_name, namespace,labelSelector) {

Callers

nothing calls this directly

Calls 2

putFunction · 0.90
namespaceSecretUrlFunction · 0.85

Tested by

no test coverage detected