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

Function deleteEndPoint

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

Source from the content-addressed store, hash-verified

26}
27
28export function deleteEndPoint (cluster_name, namespace, name) {
29 return del(`${namespaceEndpointUrl(cluster_name, namespace)}/${name}`)
30}
31
32export function createEndPoint(cluster_name, namespace, data) {
33 return post(`${namespaceEndpointUrl(cluster_name, namespace)}`, data)

Callers

nothing calls this directly

Calls 2

delFunction · 0.90
namespaceEndpointUrlFunction · 0.85

Tested by

no test coverage detected