Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewClientConfigForRestConfig (0.26 sec)

  1. cni/pkg/repair/repair.go

    func clientSetup() (kube.Client, error) {
    	config, err := kube.DefaultRestConfig("", "")
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewClient(kube.NewClientConfigForRestConfig(config), "")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/context.go

    		config.QPS = 50
    		config.Burst = 100
    		config.Impersonate = impersonateConfig
    	})
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision), kube.WithCluster(cluster.ID(configContext)))
    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    	if rootFlags == nil {
    		rootFlags = &RootFlags{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top