MCPcopy Index your code
hub / github.com/cloudfoundry/cli / GetConfig

Function GetConfig

integration/helpers/config.go:82–86  ·  view source on GitHub ↗

GetConfig loads a CF config JSON file and returns the parsed struct.

()

Source from the content-addressed store, hash-verified

80
81// GetConfig loads a CF config JSON file and returns the parsed struct.
82func GetConfig() *configv3.Config {
83 c, err := configv3.LoadConfig()
84 Expect(err).ToNot(HaveOccurred())
85 return c
86}
87
88// SetConfig allows for a given function to modify a CF config JSON and writes
89// the result back down to the filesystem.

Callers 3

config_test.goFile · 0.92

Calls 1

LoadConfigFunction · 0.92

Tested by

no test coverage detected