Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for knetworking (0.21 sec)

  1. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    			CreationTimestamp: GlobalTime,
    		},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"*.google.com"},
    			Ports: []*networking.ServicePort{
    				{Number: 80, Name: "http-number", Protocol: "http"},
    				{Number: 8080, Name: "http2-number", Protocol: "http2"},
    			},
    			Location:   networking.ServiceEntry_MESH_EXTERNAL,
    			Resolution: networking.ServiceEntry_NONE,
    		},
    	}
    )
    
    var tcpNone = &config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    					},
    					Spec: &networking.DestinationRule{
    						Host: "*.example.org",
    						TrafficPolicy: &networking.TrafficPolicy{
    							LoadBalancer: &networking.LoadBalancerSettings{
    								LbPolicy: &networking.LoadBalancerSettings_ConsistentHash{
    									ConsistentHash: &networking.LoadBalancerSettings_ConsistentHashLB{
    										HashKey: &networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    			proxyView:   model.ProxyViewAll,
    			destRule: &networking.DestinationRule{
    				Host: "foo.default.svc.cluster.local",
    				TrafficPolicy: &networking.TrafficPolicy{
    					PortLevelSettings: []*networking.TrafficPolicy_PortTrafficPolicy{
    						{
    							Port: &networking.PortSelector{Number: uint32(servicePort[0].Port)},
    							Tls:  &networking.ClientTLSSettings{Mode: networking.ClientTLSSettings_SIMPLE},
    						},
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    			[]*networking.EnvoyFilter{{
    				ConfigPatches: []*networking.EnvoyFilter_EnvoyConfigObjectPatch{{
    					ApplyTo: networking.EnvoyFilter_CLUSTER,
    					Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{
    						Context: networking.EnvoyFilter_SIDECAR_OUTBOUND,
    					},
    					Patch: &networking.EnvoyFilter_Patch{
    						Operation: networking.EnvoyFilter_Patch_ADD,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/retry/retry_test.go

    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/networking/core/route/retry"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    )
    
    func TestRetry(t *testing.T) {
    	testCases := []struct {
    		name       string
    		route      *networking.HTTPRoute
    		assertFunc func(g *WithT, policy *envoyroute.RetryPolicy)
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/gateway_test.go

    				},
    				{
    					Hosts: []string{"a.apps.svc.cluster.local", "b.apps.svc.cluster.local"},
    					Port:  &networking.Port{Name: "tls", Number: 15443, Protocol: "TLS"},
    					Tls:   &networking.ServerTLSSettings{Mode: networking.ServerTLSSettings_AUTO_PASSTHROUGH},
    				},
    			},
    		},
    	}
    	svc := &Service{
    		Attributes: ServiceAttributes{
    			Labels: map[string]string{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/util/util_test.go

    					},
    				},
    			},
    			subset: &networking.TrafficPolicy{
    				Tls: &networking.ClientTLSSettings{
    					Mode: networking.ClientTLSSettings_SIMPLE,
    				},
    			},
    			port: nil,
    			expected: &networking.TrafficPolicy{
    				Tls: &networking.ClientTLSSettings{
    					Mode: networking.ClientTLSSettings_SIMPLE,
    				},
    				ConnectionPool: &networking.ConnectionPoolSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	var resolution networking.ServiceEntry_Resolution
    	switch svc.Resolution {
    	case model.Passthrough: // 2
    		resolution = networking.ServiceEntry_NONE // 0
    	case model.DNSLB: // 1
    		resolution = networking.ServiceEntry_DNS // 2
    	case model.DNSRoundRobinLB: // 3
    		resolution = networking.ServiceEntry_DNS_ROUND_ROBIN // 3
    	case model.ClientSideLB: // 0
    		resolution = networking.ServiceEntry_STATIC // 1
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    				},
    			},
    			Location:   networking.ServiceEntry_MESH_EXTERNAL,
    			Resolution: networking.ServiceEntry_DNS,
    		},
    	}
    
    	updatedHTTPDNSPort := func() *config.Config {
    		c := updatedHTTPDNS.DeepCopy()
    		se := c.Spec.(*networking.ServiceEntry)
    		var ports []*networking.ServicePort
    		ports = append(ports, se.Ports...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_builder_test.go

    		{
    			ApplyTo: networking.EnvoyFilter_LISTENER,
    			Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{
    				Context: networking.EnvoyFilter_SIDECAR_INBOUND,
    			},
    			Patch: &networking.EnvoyFilter_Patch{
    				Operation: networking.EnvoyFilter_Patch_ADD,
    				Value:     buildPatchStruct(`{"name":"new-inbound-listener"}`),
    			},
    		},
    		{
    			ApplyTo: networking.EnvoyFilter_LISTENER,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top