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

Function namespaceEndpointUrl

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

Source from the content-addressed store, hash-verified

6}
7
8const namespaceEndpointUrl = (cluster_name,namespace) => {
9 return `/api/v1/proxy/${cluster_name}/k8s/api/v1/namespaces/${namespace}/endpoints`
10}
11
12export function listEndPoints (cluster_name, search, keywords, pageNum, pageSize) {
13 let url = endpointUrl(cluster_name)

Callers 4

deleteEndPointFunction · 0.85
createEndPointFunction · 0.85
getEndPointFunction · 0.85
updateEndPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected