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

Function postYaml

web/dashboard/src/api/k8s.js:21–23  ·  view source on GitHub ↗
(cluster_name, kind, data)

Source from the content-addressed store, hash-verified

19}
20
21export function postYaml (cluster_name, kind, data) {
22 return post(getUrl(cluster_name, kind, data), data)
23}
24
25export function getUrl (cluster_name, kind, data) {
26 let url = ""

Callers

nothing calls this directly

Calls 2

postFunction · 0.90
getUrlFunction · 0.85

Tested by

no test coverage detected