Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
21
export
function
postYaml (cluster_name, kind, data) {
22
return
post(getUrl(cluster_name, kind, data), data)
23
}
24
25
export
function
getUrl (cluster_name, kind, data) {
26
let
url =
""
Callers
nothing calls this directly
Calls
2
post
Function · 0.90
getUrl
Function · 0.85
Tested by
no test coverage detected