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

Function deleteSecrets

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

Source from the content-addressed store, hash-verified

28}
29
30export function deleteSecrets (cluster_name, namespace, name) {
31 return del(`${namespaceSecretUrl(cluster_name, namespace)}/${name}`)
32}
33
34export function getSecret (cluster_name, namespace, name) {
35 return get(`${namespaceSecretUrl(cluster_name, namespace)}/${name}`)

Callers

nothing calls this directly

Calls 2

delFunction · 0.90
namespaceSecretUrlFunction · 0.85

Tested by

no test coverage detected