decodeConfig decodes configuration in JSON format from the given io.Reader into the config object pointed to.
(r io.Reader, c *config)
| 29 | // decodeConfig decodes configuration in JSON format from the given io.Reader into |
| 30 | // the config object pointed to. |
| 31 | func decodeConfig(r io.Reader, c *config) error { |
| 32 | decoder := json.NewDecoder(r) |
| 33 | return decoder.Decode(c) |
| 34 | } |
| 35 | |
| 36 | // LoadExternalComponentsFromConfig loads plugins defined in RawBuilders, RawProvisioners, and RawPostProcessors. |
| 37 | func (c *config) LoadExternalComponentsFromConfig() error { |
no outgoing calls
searching dependent graphs…