MCPcopy Create free account
hub / github.com/1Panel-dev/KubePi / getService

Function getService

web/dashboard/src/api/services.js:37–39  ·  view source on GitHub ↗
(cluster_name, namespace, name)

Source from the content-addressed store, hash-verified

35}
36
37export function getService (cluster_name, namespace, name) {
38 return get(`${namespaceServiceUrl(cluster_name, namespace)}/${name}`)
39}
40
41export function createService (cluster_name, namespace, data) {
42 return post(`${namespaceServiceUrl(cluster_name, namespace)}`, data)

Callers

nothing calls this directly

Calls 2

getFunction · 0.90
namespaceServiceUrlFunction · 0.85

Tested by

no test coverage detected