Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WithRevision (0.07 sec)

  1. 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{
    			kubeconfig:       ptr.Of[string](""),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

    				return nil, err
    			}
    			curContext := rawConfig.Contexts[rawConfig.CurrentContext]
    			if curContext == nil {
    				continue
    			}
    			client, err := kube.NewCLIClient(clientConfig,
    				kube.WithRevision(revisionSpecified),
    				kube.WithCluster(cluster.ID(curContext.Cluster)))
    			if err != nil {
    				return nil, err
    			}
    			clients = append(clients, &Client{
    				client: client,
    				remote: true,
    			})
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top