Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for DR (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. istioctl/pkg/precheck/precheck.go

    			return false
    		}
    		return tls.Sni == ""
    	}
    	for _, dr := range drs.Items {
    		verificationImpacted := false
    		sniImpacted := false
    		verificationImpacted = verificationImpacted || checkVerify(dr.Spec.GetTrafficPolicy().GetTls())
    		sniImpacted = sniImpacted || checkSNI(dr.Spec.GetTrafficPolicy().GetTls())
    		for _, pl := range dr.Spec.GetTrafficPolicy().GetPortLevelSettings() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  6. pilot/pkg/model/sidecar.go

    	// this config namespace) will see, identify all the destinationRules
    	// that these services need
    	for _, s := range out.services {
    		if dr := ps.destinationRule(configNamespace, s); dr != nil {
    			out.destinationRules[s.Hostname] = dr
    			for _, cdr := range dr {
    				for _, from := range cdr.from {
    					out.destinationRulesByNames[from] = cdr.rule
    				}
    			}
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. pkg/kube/client.go

    		}
    		// namespaced resources should specify the namespace
    		dr = c.dynamic.Resource(mapping.Resource).Namespace(ns)
    	} else {
    		// for cluster-wide resources
    		dr = c.dynamic.Resource(mapping.Resource)
    	}
    	return obj, dr, nil
    }
    
    // IstioScheme returns a scheme will all known Istio-related types added
    var (
    	IstioScheme = istioScheme()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster.go

    			return nil, nil
    		}
    		dr := prevCfg.Spec.(*networking.DestinationRule)
    		services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
    	} else {
    		dr := cfg.Spec.(*networking.DestinationRule)
    		// Destinationrule was updated. Find matching services from updated destinationrule.
    		services = append(services, proxy.SidecarScope.ServicesForHostname(host.Name(dr.Host))...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    		mesh     *networking.LocalityLoadBalancerSetting
    		dr       *networking.LocalityLoadBalancerSetting
    		expected *networking.LocalityLoadBalancerSetting
    	}{
    		{
    			"all disabled",
    			nil,
    			nil,
    			nil,
    		},
    		{
    			"mesh only",
    			&networking.LocalityLoadBalancerSetting{},
    			nil,
    			&networking.LocalityLoadBalancerSetting{},
    		},
    		{
    			"dr only",
    			nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. tests/integration/security/pass_through_filter_chain_test.go

    							param.Namespace.String(): apps.Ns1.Namespace,
    						})).
    						// It's not trivial to force mTLS to pass-through ports. To work around this, we will
    						// set up a SE and DR that forces it.
    						//
    						// Since our client will talk directly to pods via IP, we have to configure the ports
    						// in the SE as TCP, since only TCP does will match based in IP address rather than host.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top