Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newClientFactory (0.15 sec)

  1. pkg/kube/client_factory.go

    	expander lazy.Lazy[meta.RESTMapper]
    	mapper   lazy.Lazy[meta.ResettableRESTMapper]
    
    	discoveryClient lazy.Lazy[discovery.CachedDiscoveryInterface]
    }
    
    // newClientFactory creates a new util.Factory from the given clientcmd.ClientConfig.
    func newClientFactory(clientConfig clientcmd.ClientConfig, diskCache bool) *clientFactory {
    	out := &clientFactory{
    		clientConfig: clientConfig,
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. pkg/kube/client.go

    // and uses standard CLI (kubectl) caching.
    func NewCLIClient(clientConfig clientcmd.ClientConfig, opts ...ClientOption) (CLIClient, error) {
    	return newClientInternal(newClientFactory(clientConfig, true), opts...)
    }
    
    // ClientOption defines an option for configuring the CLIClient.
    type ClientOption func(CLIClient) CLIClient
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top