(clusterConfig *clusterconfig.Config, filePath string)
| 61 | } |
| 62 | |
| 63 | func readCachedClusterConfigFile(clusterConfig *clusterconfig.Config, filePath string) error { |
| 64 | errs := cr.ParseYAMLFile(clusterConfig, clusterconfig.FullConfigValidation, filePath) |
| 65 | if errors.HasError(errs) { |
| 66 | return errors.FirstError(errs...) |
| 67 | } |
| 68 | |
| 69 | return nil |
| 70 | } |
| 71 | |
| 72 | func readUserClusterConfigFile(clusterConfig *clusterconfig.Config, filePath string) error { |
| 73 | errs := cr.ParseYAMLFile(clusterConfig, clusterconfig.FullConfigValidation, filePath) |
no test coverage detected