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

Function updateIngress

web/dashboard/src/api/ingress.js:44–46  ·  view source on GitHub ↗
(cluster_name, namespace, name, data)

Source from the content-addressed store, hash-verified

42}
43
44export function updateIngress (cluster_name, namespace, name, data) {
45 return put(`${namespaceIngressUrl(cluster_name, namespace)}/${name}`, data)
46}
47export function listAllIngresses (cluster_name ){
48 return get(ingressUrl(cluster_name))
49}

Callers

nothing calls this directly

Calls 2

putFunction · 0.90
namespaceIngressUrlFunction · 0.85

Tested by

no test coverage detected