(cluster string)
| 50 | } |
| 51 | |
| 52 | func GetSettings(cluster string) *cli.EnvSettings { |
| 53 | checkFiles(cluster) |
| 54 | return &cli.EnvSettings{ |
| 55 | PluginsDirectory: helmpath.DataPath(cluster + "/plugins"), |
| 56 | RegistryConfig: helmpath.ConfigPath(cluster + "/registry.json"), |
| 57 | RepositoryConfig: helmpath.ConfigPath(cluster + "/repositories.yaml"), |
| 58 | RepositoryCache: helmpath.CachePath(cluster + "/repository"), |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | func checkFiles(cluster string) { |
| 63 |
no test coverage detected