Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for DR (0.14 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. src/image/draw/clip_test.go

    		// Check that the clipped rectangle is contained by the dst / src / mask
    		// rectangles, in their respective coordinate spaces.
    		if !r.In(c.dr) {
    			t.Errorf("%s: c.dr %v does not contain r %v", c.desc, c.dr, r)
    		}
    		// sr is r translated into src's coordinate space.
    		sr := r.Add(c.sp.Sub(c.dr.Min))
    		if !sr.In(c.sr) {
    			t.Errorf("%s: c.sr %v does not contain sr %v", c.desc, c.sr, sr)
    		}
    		if !c.nilMask {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/xds/endpoints/mtls_checker.go

    	if drc == nil {
    		return nil
    	}
    	dr, ok := drc.Spec.(*networkingapi.DestinationRule)
    	if !ok || dr == nil {
    		return nil
    	}
    
    	if subset == "" {
    		return trafficPolicyTLSModeForPort(dr.GetTrafficPolicy(), port)
    	}
    
    	for _, ss := range dr.Subsets {
    		if ss.Name != subset {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	res := strings.TrimSpace(dr.s.Text())
    	if !strings.HasPrefix(res, "// ") {
    		dr.t.Fatalf("malformed line %s:%d, no comment: %s", dr.p, dr.ln, res)
    	}
    	return res[3:]
    }
    
    // readObjBlob reads in a series of commented lines until
    // it hits a delimiter, then returns the contents of the comments.
    func (dr *dumpReader) readObjBlob(delim string) (string, error) {
    	var sb strings.Builder
    	foundDelim := false
    	for dr.scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. 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)
  7. pilot/pkg/xds/endpoints/endpoint_builder.go

    		}
    	}
    }
    
    func (b *EndpointBuilder) DestinationRule() *v1alpha3.DestinationRule {
    	if dr := b.destinationRule.GetRule(); dr != nil {
    		dr, _ := dr.Spec.(*v1alpha3.DestinationRule)
    		return dr
    	}
    	return nil
    }
    
    func (b *EndpointBuilder) Type() string {
    	return model.EDSType
    }
    
    func (b *EndpointBuilder) ServiceFound() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. 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)
  9. istioctl/pkg/multixds/gather.go

    // consider using AllRequestAndProcessXds or FirstRequestAndProcessXds
    // nolint: lll
    func RequestAndProcessXds(dr *discovery.DiscoveryRequest, centralOpts clioptions.CentralControlPlaneOptions, istioNamespace string, kubeClient kube.CLIClient) (*discovery.DiscoveryResponse, error) {
    	responses, err := MultiRequestAndProcessXds(true, dr, centralOpts, istioNamespace,
    		istioNamespace, tokenServiceAccount, kubeClient, DefaultOptions)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe.go

    	return false
    }
    
    func printDestinationRule(writer io.Writer, initPrintNum int,
    	dr *clientnetworking.DestinationRule, podsLabels []klabels.Set,
    ) {
    	fmt.Fprintf(writer, "%sDestinationRule: %s for %q\n",
    		printSpaces(initPrintNum+printLevel0), kname(dr.ObjectMeta), dr.Spec.Host)
    
    	matchingSubsets, nonmatchingSubsets := getDestRuleSubsets(dr.Spec.Subsets, podsLabels)
    	if len(matchingSubsets) != 0 || len(nonmatchingSubsets) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
Back to top