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

Function namespaceServiceAccountUrl

web/dashboard/src/api/serviceaccounts.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/serviceaccounts`
5}
6const namespaceServiceAccountUrl = (cluster_name, namespace) => {
7 return `/api/v1/proxy/${cluster_name}/k8s/api/v1/namespaces/${namespace}/serviceaccounts`
8}
9
10export function listServiceAccounts (cluster_name,search, keywords, pageNum, pageSize) {
11 let url = serviceAccountUrl(cluster_name)

Callers 5

deleteServiceAccountFunction · 0.85
getServiceAccountFunction · 0.85
createServiceAccountFunction · 0.85
updateServiceAccountFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected