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

Function createIngress

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

Source from the content-addressed store, hash-verified

38}
39
40export function createIngress (cluster_name, namespace, data) {
41 return post(`${namespaceIngressUrl(cluster_name, namespace)}`, data)
42}
43
44export function updateIngress (cluster_name, namespace, name, data) {
45 return put(`${namespaceIngressUrl(cluster_name, namespace)}/${name}`, data)

Callers

nothing calls this directly

Calls 2

postFunction · 0.90
namespaceIngressUrlFunction · 0.85

Tested by

no test coverage detected