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

Function getIngress

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

Source from the content-addressed store, hash-verified

34}
35
36export function getIngress (cluster_name, namespace, name) {
37 return get(`${namespaceIngressUrl(cluster_name, namespace)}/${name}`)
38}
39
40export function createIngress (cluster_name, namespace, data) {
41 return post(`${namespaceIngressUrl(cluster_name, namespace)}`, data)

Callers

nothing calls this directly

Calls 2

getFunction · 0.90
namespaceIngressUrlFunction · 0.85

Tested by

no test coverage detected