Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for DR (0.03 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tests/integration/security/reachability_test.go

    			}{
    				{
    					name: "global mtls strict",
    					configs: config.Sources{
    						config.File("testdata/reachability/global-peer-authn.yaml.tmpl"),
    						config.File("testdata/reachability/global-dr.yaml.tmpl"),
    					}.WithParams(param.Params{
    						mtlsModeParam:            model.MTLSStrict.String(),
    						tlsModeParam:             "ISTIO_MUTUAL",
    						param.Namespace.String(): systemNS,
    					}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. src/image/draw/draw.go

    			d := dst.Pix[i : i+4 : i+4] // Small cap improves performance, see https://golang.org/issue/27857
    			dr := uint32(d[0])
    			dg := uint32(d[1])
    			db := uint32(d[2])
    			da := uint32(d[3])
    
    			// dr, dg, db and da are all 8-bit color at the moment, ranging in [0,255].
    			// We work in 16-bit color, and so would normally do:
    			// dr |= dr << 8
    			// and similarly for dg, db and da, but instead we multiply a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top