- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Route (0.06 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
cluster/gce/util.sh
gcloud compute instances remove-metadata "${name}" --zone "${zone}" --keys=kube-master-internal-ip # We want `ip route` to be run in the cloud and not this host run-gcloud-command "${name}" "${zone}" "sudo ip route del to local ${ip}/32 dev \$(ip route | grep default | while read -r _ _ _ _ dev _; do echo \$dev; done)" || true return $? }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0) -
cmd/admin-handlers.go
hip, errCode := extractHealInitParams(mux.Vars(r), r.Form, r.Body) if errCode != ErrNone { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(errCode), r.URL) return } // Analyze the heal token and route the request accordingly token, success := proxyRequestByToken(ctx, w, r, hip.clientToken) if success { return } hip.clientToken = token // if request was not successful, try this server locally if token
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0)