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

Function namespaceSecretUrl

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

Source from the content-addressed store, hash-verified

4 return `/api/v1/proxy/${cluster_name}/k8s/api/v1/secrets`
5}
6const namespaceSecretUrl = (cluster_name, namespace) => {
7 return `/api/v1/proxy/${cluster_name}/k8s/api/v1/namespaces/${namespace}/secrets`
8}
9
10export function listSecrets (cluster_name, search, keywords, pageNum, pageSize) {
11 let url = secretUrl(cluster_name)

Callers 6

listSecretsWithNsFunction · 0.85
deleteSecretsFunction · 0.85
getSecretFunction · 0.85
createSecretFunction · 0.85
editSecretFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected