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

Function getEndPoint

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

Source from the content-addressed store, hash-verified

34}
35
36export function getEndPoint (cluster_name, namespace, name) {
37 return get(`${namespaceEndpointUrl(cluster_name, namespace)}/${name}`)
38}
39
40export function updateEndPoint (cluster_name, namespace, name, data) {
41 return put(`${namespaceEndpointUrl(cluster_name, namespace)}/${name}`, data)

Callers

nothing calls this directly

Calls 2

getFunction · 0.90
namespaceEndpointUrlFunction · 0.85

Tested by

no test coverage detected