Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for client_config (0.18 sec)

  1. istioctl/pkg/writer/pilot/status.go

    	for _, dr := range drs {
    		for _, resource := range dr.Resources {
    			clientConfig := xdsstatus.ClientConfig{}
    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 21 22:47:20 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. internal/event/target/nats_contrib_test.go

    	opts.Port = 14222
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. internal/event/target/nats_tls_contrib_test.go

    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. istioctl/pkg/writer/pilot/status_test.go

    	edsSyncStatus  status.ConfigStatus
    	ecdsSyncStatus status.ConfigStatus
    }
    
    func newXdsClientConfig(config clientConfigInput) *status.ClientConfig {
    	meta := model.NodeMetadata{
    		ClusterID:    cluster.ID(config.clusterID),
    		IstioVersion: config.version,
    	}
    	return &status.ClientConfig{
    		Node: &core.Node{
    			Id:       config.proxyID,
    			Metadata: meta.ToStruct(),
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    	valuesConfigMapKey = "values"
    )
    
    type ExternalInjector struct {
    	client          kube.CLIClient
    	clientConfig    *admissionregistration.WebhookClientConfig
    	injectorAddress string
    }
    
    func (e ExternalInjector) Inject(pod *corev1.Pod, deploymentNS string) ([]byte, error) {
    	cc := e.clientConfig
    	if cc == nil {
    		return nil, nil
    	}
    	var address string
    	if cc.URL != nil {
    		address = *cc.URL
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. 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)
  10. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // "imagepolicy" is the name of the webhook, and kubernetes.io is the name
      // of the organization.
      // Required.
      optional string name = 1;
    
      // ClientConfig defines how to communicate with the hook.
      // Required
      optional WebhookClientConfig clientConfig = 2;
    
      // Rules describes what operations on what resources/subresources the webhook cares about.
      // The webhook cares about an operation if it matches _any_ Rule.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top