Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ClientConfig (0.19 sec)

  1. istioctl/pkg/tag/generate.go

    		if strings.HasSuffix(w.Name, istioInjectionWebhookSuffix) {
    			found = true
    			caBundle = string(w.ClientConfig.CABundle)
    			if w.ClientConfig.URL != nil {
    				injectionURL = *w.ClientConfig.URL
    			}
    			if w.ClientConfig.Service != nil {
    				if w.ClientConfig.Service.Path != nil {
    					path = *w.ClientConfig.Service.Path
    				}
    			}
    			break
    		}
    	}
    	if !found {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. istioctl/pkg/multixds/gather.go

    			switch resource.GetTypeUrl() {
    			case "type.googleapis.com/envoy.service.status.v3.ClientConfig":
    				clientConfig := xdsstatus.ClientConfig{}
    				err := resource.UnmarshalTo(&clientConfig)
    				if err != nil {
    					return nil, err
    				}
    				visited[clientConfig.Node.Id] = true
    			default:
    				// ignore unknown types.
    			}
    		}
    		return response, nil
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/generate_test.go

    			{
    				Name: fmt.Sprintf("namespace.%s", istioInjectionWebhookSuffix),
    				ClientConfig: admitv1.WebhookClientConfig{
    					Service: &admitv1.ServiceReference{
    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    			{
    				Name: fmt.Sprintf("object.%s", istioInjectionWebhookSuffix),
    				ClientConfig: admitv1.WebhookClientConfig{
    					Service: &admitv1.ServiceReference{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. istioctl/pkg/util/handlers/handlers.go

    	if err != nil {
    		return nil, "", "", "", fmt.Errorf("%q does not refer to a pod: %v", resname, err)
    	}
    	clientConfig, err := factory.ToRESTConfig()
    	if err != nil {
    		return nil, "", "", "", err
    	}
    	clientset, err := corev1client.NewForConfig(clientConfig)
    	if err != nil {
    		return nil, "", "", "", err
    	}
    	return clientset, "", namespace, selector.String(), nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    	})
    	if err != nil {
    		return nil, err
    	}
    	for _, s := range secrets.Items {
    		for _, cfg := range s.Data {
    			clientConfig, err := clientcmd.NewClientConfigFromBytes(cfg)
    			if err != nil {
    				return nil, err
    			}
    			rawConfig, err := clientConfig.RawConfig()
    			if err != nil {
    				return nil, err
    			}
    			curContext := rawConfig.Contexts[rawConfig.CurrentContext]
    			if curContext == nil {
    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