Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TCPRoute (0.13 sec)

  1. pilot/pkg/networking/core/gateway_test.go

    					Spec: &networking.VirtualService{
    						Gateways: []string{"testns/gateway1"},
    						Hosts:    []string{"tcp.example.com"},
    						Tcp: []*networking.TCPRoute{
    							{
    								Match: []*networking.L4MatchAttributes{
    									{
    										Port: 9443,
    									},
    								},
    								Route: []*networking.RouteDestination{
    									{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    		}
    		for _, tlsRoute := range virtualService.Tls {
    			errs = AppendValidation(errs, validateTLSRoute(tlsRoute, virtualService, gatewaySemantics))
    		}
    		for _, tcpRoute := range virtualService.Tcp {
    			errs = AppendValidation(errs, validateTCPRoute(tcpRoute, gatewaySemantics))
    		}
    
    		errs = AppendValidation(errs, validateExportTo(cfg.Namespace, virtualService.ExportTo, false, false))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    					Destination: &networking.Destination{Host: "foo.baz"},
    				}},
    			}},
    		}, valid: true},
    		{name: "missing tcp route", in: &networking.VirtualService{
    			Hosts: []string{"foo.bar"},
    			Tcp: []*networking.TCPRoute{{
    				Match: []*networking.L4MatchAttributes{
    					{Port: 999},
    				},
    			}},
    		}, valid: false},
    		{name: "missing tls route", in: &networking.VirtualService{
    			Hosts: []string{"foo.bar"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top