()
| 97 | } |
| 98 | |
| 99 | func (l *configLoader) LoadLocalCache() (localcache.Cache, error) { |
| 100 | return localcache.NewCacheLoader().Load(l.absConfigPath) |
| 101 | } |
| 102 | |
| 103 | // Load restores variables from the cluster (if wanted), loads the config and then saves them to the cluster again |
| 104 | func (l *configLoader) Load(ctx context.Context, client kubectl.Client, options *ConfigOptions, log log.Logger) (config.Config, error) { |
no test coverage detected