Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redspread/spread
/ KubeShortForm
Function
KubeShortForm
pkg/deploy/kinds.go:27–32 ·
view source on GitHub ↗
(resource string)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
KubeShortForm(resource string) string {
28
if
long, ok := shortForms[resource]; ok {
29
return
long
30
}
31
return
resource
32
}
33
34
// TODO: ensure all Kinds are supported
35
var
kinds =
map
[string]KubeObject{
Callers
1
Get
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected