Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cloudfoundry/cli
/ NewData
Function
NewData
cf/configuration/pluginconfig/plugin_data.go:19–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
func
NewData() *PluginData {
20
return
&PluginData{
21
Plugins: make(
map
[string]PluginMetadata),
22
}
23
}
24
25
func
(pd *PluginData) JSONMarshalV3() (output []byte, err error) {
26
return
json.MarshalIndent(pd,
""
,
" "
)
Callers
1
NewPluginConfig
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected