WithClientConfig sets the client config to use
(clientConfig clientcmd.ClientConfig)
| 468 | |
| 469 | // WithClientConfig sets the client config to use |
| 470 | func (f *TestFactory) WithClientConfig(clientConfig clientcmd.ClientConfig) *TestFactory { |
| 471 | f.kubeConfigFlags.WithClientConfig(clientConfig) |
| 472 | return f |
| 473 | } |
| 474 | |
| 475 | func (f *TestFactory) WithDiscoveryClient(discoveryClient discovery.CachedDiscoveryInterface) *TestFactory { |
| 476 | f.kubeConfigFlags.WithDiscoveryClient(discoveryClient) |
no outgoing calls