Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Route (0.12 sec)

  1. pkg/config/validation/validation_test.go

    }
    
    func TestValidateHTTPRoute(t *testing.T) {
    	testCases := []struct {
    		name  string
    		route *networking.HTTPRoute
    		valid bool
    	}{
    		{name: "empty", route: &networking.HTTPRoute{ // nothing
    		}, valid:                                     false},
    		{name: "simple", route: &networking.HTTPRoute{
    			Route: []*networking.HTTPRouteDestination{{
    				Destination: &networking.Destination{Host: "foo.baz"},
    			}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_test.go

    // limitations under the License.
    
    package core
    
    import (
    	"reflect"
    	"sort"
    	"testing"
    	"time"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	hcm "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/http_connection_manager/v3"
    	auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  3. fastapi/routing.py

                        route_class_override=type(route),
                        callbacks=current_callbacks,
                        openapi_extra=route.openapi_extra,
                        generate_unique_id_function=current_generate_unique_id,
                    )
                elif isinstance(route, routing.Route):
                    methods = list(route.methods or [])
                    self.add_route(
                        prefix + route.path,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    	emptyMatchEncountered := -1
    	var matchHTTPRoutes []*OverlappingMatchValidationForHTTPRoute
    	for rulen, route := range routes {
    		if route == nil {
    			continue
    		}
    		if len(route.Match) == 0 {
    			if emptyMatchEncountered >= 0 {
    				reportUnreachable(routeName(route, rulen), "only the last rule can have no matches")
    			}
    			emptyMatchEncountered = rulen
    			continue
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  5. tests/integration/pilot/common/routing.go

        headers:
          request:
            set:
              :authority: route-authority`,
    		opts: echo.CallOptions{
    			Port: echo.Port{
    				Name: "http",
    			},
    			Count: 1,
    			Check: check.And(
    				check.OK(),
    				check.Host("route-authority")),
    		},
    		workloadAgnostic: true,
    	})
    	t.RunTraffic(TrafficTestCase{
    		name: "set host header in route and multi destination",
    		config: `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  6. istioctl/pkg/authz/testdata/configdump.yaml

                   "*"
                  ],
                  "routes": [
                   {
                    "match": {
                     "prefix": "/stats/prometheus"
                    },
                    "route": {
                     "cluster": "prometheus_stats"
                    }
                   }
                  ]
                 }
                ]
               },
               "http_filters": [
                {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 206.7K bytes
    - Viewed (1)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Too many follow-up requests: 21")
        }
      }
    
      /**
       * We had a bug where we were passing a null route to the authenticator.
       * https://github.com/square/okhttp/issues/3809
       */
      @Test
      fun authenticateWithNoConnection() {
        server.enqueue(
          MockResponse(
            code = 401,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/ResponseBody;-><init>()V
    HSPLokhttp3/ResponseBody;->close()V
    HSPLokhttp3/ResponseBody;->string()Ljava/lang/String;
    HSPLokhttp3/Route;-><init>(Lokhttp3/Address;Ljava/net/Proxy;Ljava/net/InetSocketAddress;)V
    HSPLokhttp3/Route;->hashCode()I
    HSPLokhttp3/TlsVersion;-><clinit>()V
    HSPLokhttp3/TlsVersion;-><init>(Ljava/lang/String;ILjava/lang/String;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    server port number for which this route configuration was generated. type: integer vhost: description: Match a specific virtual host in a route configuration and apply the patch to the virtual host. properties: name: description: The VirtualHosts objects generated by Istio are named as host:port, where the host typically corresponds to the VirtualService's host field or the hostname of a service in the registry. type: string route: description: Match a specific route within the virtual host. properties:...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/proxier_test.go

    			clusterIPServer = virtualServer
    		}
    
    		if virtualServer.Address.String() == "1.2.3.4" {
    			externalIPServer = virtualServer
    		}
    	}
    
    	// clusterIP should route to cluster-wide ready endpoints
    	realServers1, rsErr1 := ipvs.GetRealServers(clusterIPServer)
    	assert.Nil(t, rsErr1, "Expected no error getting real servers")
    	assert.Len(t, realServers1, 3, "Expected 3 real servers")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top