GetConfig loads a CF config JSON file and returns the parsed struct.
()
| 80 | |
| 81 | // GetConfig loads a CF config JSON file and returns the parsed struct. |
| 82 | func 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. |
no test coverage detected