MCPcopy
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
19func NewData() *PluginData {
20 return &PluginData{
21 Plugins: make(map[string]PluginMetadata),
22 }
23}
24
25func (pd *PluginData) JSONMarshalV3() (output []byte, err error) {
26 return json.MarshalIndent(pd, "", " ")

Callers 1

NewPluginConfigFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected