Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewCLIClient (0.17 sec)

  1. istioctl/pkg/cli/context.go

    		// Bumping this up greatly decreases install time
    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision))
    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    	if rootFlags == nil {
    		rootFlags = &RootFlags{
    			kubeconfig:       ptr.Of[string](""),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

    			if err != nil {
    				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{
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top