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

Function listSecretsWithNs

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

Source from the content-addressed store, hash-verified

24}
25
26export function listSecretsWithNs (cluster_name, namespace) {
27 return get(`${namespaceSecretUrl(cluster_name, namespace)}`)
28}
29
30export function deleteSecrets (cluster_name, namespace, name) {
31 return del(`${namespaceSecretUrl(cluster_name, namespace)}/${name}`)

Callers

nothing calls this directly

Calls 2

getFunction · 0.90
namespaceSecretUrlFunction · 0.85

Tested by

no test coverage detected