Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for DR (0.02 sec)

  1. pkg/config/analysis/analyzers/destinationrule/ca-certificates.go

    	dr := r.Message.(*v1alpha3.DestinationRule)
    	drNs := r.Metadata.FullName.Namespace
    	drName := r.Metadata.FullName.String()
    	mode := dr.GetTrafficPolicy().GetTls().GetMode()
    	if mode == v1alpha3.ClientTLSSettings_SIMPLE || mode == v1alpha3.ClientTLSSettings_MUTUAL {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/endpoint_builder_test.go

    )
    
    func TestPopulateFailoverPriorityLabels(t *testing.T) {
    	tests := []struct {
    		name           string
    		dr             *config.Config
    		mesh           *meshconfig.MeshConfig
    		expectedLabels []byte
    	}{
    		{
    			name:           "no dr",
    			expectedLabels: nil,
    		},
    		{
    			name: "simple",
    			dr: &config.Config{
    				Spec: &networking.DestinationRule{
    					TrafficPolicy: &networking.TrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_cache.go

    		h.WriteString(string(t.service.Hostname))
    		h.Write(Slash)
    		h.WriteString(t.service.Attributes.Namespace)
    	}
    	h.Write(Separator)
    
    	for _, dr := range t.destinationRule.GetFrom() {
    		h.WriteString(dr.Name)
    		h.Write(Slash)
    		h.WriteString(dr.Namespace)
    	}
    	h.Write(Separator)
    
    	for _, efk := range t.envoyFilterKeys {
    		h.WriteString(efk)
    		h.Write(Separator)
    	}
    	h.Write(Separator)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. tests/integration/security/ca_custom_root/secure_naming_test.go

    						{
    							name:            "connection fails when DR doesn't match SA",
    							destinationRule: defaultIdentityDR,
    							expectSuccess:   false,
    						},
    						{
    							name:            "connection succeeds when DR matches SA",
    							destinationRule: correctIdentityDR,
    							expectSuccess:   true,
    						},
    						{
    							name:            "connection fails when DR contains non-matching, non-existing SA",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_cache.go

    	configs = append(configs, r.DelegateVirtualServices...)
    	for _, mergedDR := range r.DestinationRules {
    		for _, dr := range mergedDR.GetFrom() {
    			configs = append(configs, model.ConfigKey{Kind: kind.DestinationRule, Name: dr.Name, Namespace: dr.Namespace}.HashCode())
    		}
    	}
    
    	for _, efKey := range r.EnvoyFilterKeys {
    		items := strings.Split(efKey, "/")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/pilot/status.go

    	mappedResp := map[string]string{}
    	w := new(tabwriter.Writer).Init(s.Writer, 0, 8, 5, ' ', 0)
    	_, _ = fmt.Fprintln(w, "NAME\tCLUSTER\tCDS\tLDS\tEDS\tRDS\tECDS\tISTIOD\tVERSION")
    	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)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. src/net/http/httputil/dump.go

    			req.Body.Close()
    		}
    		select {
    		case dr.c <- strings.NewReader("HTTP/1.1 204 No Content\r\nConnection: close\r\n\r\n"):
    		case <-quitReadCh:
    			// Ensure delegateReader.Read doesn't block forever if we get an error.
    			close(dr.c)
    		}
    	}()
    
    	_, err := t.RoundTrip(reqSend)
    
    	req.Body = save
    	if err != nil {
    		pw.Close()
    		dr.err = err
    		close(quitReadCh)
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. pilot/pkg/xds/cds_test.go

    				Namespace: pod.Namespace,
    				Name:      pod.Name,
    			},
    		}},
    		Ports: []discoveryv1.EndpointPort{{Name: ptr.Of("http"), Port: ptr.Of(int32(80))}},
    	}
    	dr := config.Config{
    		Meta: config.Meta{
    			GroupVersionKind: gvk.DestinationRule,
    			Name:             "dr",
    			Namespace:        "test",
    		},
    		Spec: &networking.DestinationRule{
    			Host: "example.default.svc.cluster.local",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/testing/fstest/mapfs_test.go

    		fi, err := d.Info()
    		if err != nil {
    			return err
    		}
    		fmt.Fprintf(buf, "%s: %v\n", path, fi.Mode())
    		return nil
    	})
    	want := `
    .: drwxrwxrwx
    a: dr-xr-xr-x
    a/b.txt: -rw-rw-rw-
    `[1:]
    	got := buf.String()
    	if want != got {
    		t.Errorf("MapFS modes want:\n%s\ngot:\n%s\n", want, got)
    	}
    }
    
    func TestMapFSFileInfoName(t *testing.T) {
    	m := MapFS{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 14:59:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. istioctl/pkg/internaldebug/internal-debug.go

    }
    
    func (s *DebugWriter) PrintAll(drs map[string]*discovery.DiscoveryResponse) error {
    	// Gather the statuses before printing so they may be sorted
    	mappedResp := map[string]string{}
    	for id, dr := range drs {
    		for _, resource := range dr.Resources {
    			if s.InternalDebugAllIstiod {
    				mappedResp[id] = string(resource.Value) + "\n"
    			} else {
    				_, _ = s.Writer.Write(resource.Value)
    				_, _ = s.Writer.Write([]byte("\n"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 04:16:55 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top