LoadWithCache loads the config with the given local cache
(ctx context.Context, localCache localcache.Cache, client kubectl.Client, options *ConfigOptions, log log.Logger)
| 107 | |
| 108 | // LoadWithCache loads the config with the given local cache |
| 109 | func (l *configLoader) LoadWithCache(ctx context.Context, localCache localcache.Cache, client kubectl.Client, options *ConfigOptions, log log.Logger) (config.Config, error) { |
| 110 | return l.LoadWithParser(ctx, localCache, client, NewDefaultParser(), options, log) |
| 111 | } |
| 112 | |
| 113 | // LoadWithParser loads the config with the given parser |
| 114 | func (l *configLoader) LoadWithParser(ctx context.Context, localCache localcache.Cache, client kubectl.Client, parser Parser, options *ConfigOptions, log log.Logger) (_ config.Config, err error) { |
no test coverage detected