Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for HTTPRoute (0.44 sec)

  1. pilot/pkg/model/virtualservice_test.go

    	dstMirrorV3.Host = "productpage-mirror.org"
    
    	cases := []struct {
    		name     string
    		root     *networking.HTTPRoute
    		delegate []*networking.HTTPRoute
    		expected []*networking.HTTPRoute
    	}{
    		{
    			name: "root catch all",
    			root: &networking.HTTPRoute{
    				Match:   nil, // catch all
    				Timeout: &durationpb.Duration{Seconds: 10},
    				Headers: &networking.Headers{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route_test.go

    					Name: name,
    				},
    			},
    		},
    	}
    }
    
    var virtualServiceWithSubset = &networking.VirtualService{
    	Hosts:    []string{},
    	Gateways: []string{"some-gateway"},
    	Http: []*networking.HTTPRoute{
    		{
    			Route: []*networking.HTTPRouteDestination{
    				{
    					Destination: &networking.Destination{
    						Subset: "some-subset",
    						Host:   "*.example.org",
    						Port: &networking.PortSelector{
    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/httproute_test.go

    	virtualServiceSpec := &networking.VirtualService{
    		Hosts:    []string{"test-duplicate-domains.default.svc.cluster.local", "test-duplicate-domains.default"},
    		Gateways: []string{"mesh"},
    		Http: []*networking.HTTPRoute{
    			{
    				Route: []*networking.HTTPRouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host: "test-duplicate-domains.default",
    						},
    					},
    				},
    			},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/conversion.go

    			if string(from.Group) == gvk.KubernetesGateway.Group && string(from.Kind) == gvk.KubernetesGateway.Kind {
    				fromKey.Kind = gvk.KubernetesGateway
    			} else if string(from.Group) == gvk.HTTPRoute.Group && string(from.Kind) == gvk.HTTPRoute.Kind {
    				fromKey.Kind = gvk.HTTPRoute
    			} else if string(from.Group) == gvk.TLSRoute.Group && string(from.Kind) == gvk.TLSRoute.Kind {
    				fromKey.Kind = gvk.TLSRoute
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/types.gen.go

    			Patch(context.TODO(), orig.Name, typ, patchBytes, metav1.PatchOptions{FieldManager: "pilot-discovery"})
    	case gvk.HTTPRoute:
    		oldRes := &sigsk8siogatewayapiapisv1beta1.HTTPRoute{
    			ObjectMeta: origMeta,
    			Spec:       *(orig.Spec.(*sigsk8siogatewayapiapisv1beta1.HTTPRouteSpec)),
    		}
    		modRes := &sigsk8siogatewayapiapisv1beta1.HTTPRoute{
    			ObjectMeta: modMeta,
    			Spec:       *(mod.Spec.(*sigsk8siogatewayapiapisv1beta1.HTTPRouteSpec)),
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/route.go

    	traceOperation := telemetry.TraceOperation(string(svc.Hostname), port.Port)
    	httpRoute := BuildDefaultHTTPOutboundRoute(cluster, traceOperation, mesh)
    
    	// if this host has no virtualservice, the consistentHash on its destinationRule will be useless
    	hashPolicy := consistentHashToHashPolicy(hash)
    	if hashPolicy != nil {
    		httpRoute.GetRoute().HashPolicy = []*route.RouteAction_HashPolicy{hashPolicy}
    	}
    	return VirtualHostWrapper{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context_test.go

    			Namespace:        "ns1",
    		},
    		Spec: &networking.VirtualService{
    			ExportTo: []string{"*"},
    			Hosts:    []string{"*.org"},
    			Gateways: []string{"gateway"},
    			Http: []*networking.HTTPRoute{
    				{
    					Match: []*networking.HTTPMatchRequest{
    						{
    							Uri: &networking.StringMatch{
    								MatchType: &networking.StringMatch_Prefix{Prefix: "/productpage"},
    							},
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/sidecar_simulation_test.go

    					Namespace: spl[1],
    					Name:      spl[0],
    				})
    			}
    		}
    	}
    	switch variant {
    	case "httproute":
    		return tmpl.MustEvaluate(`apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}"
      namespace: {{.Namespace}}
      creationTimestamp: "{{.Time}}"
    spec:
      parentRefs:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	// the VirtualService metadata will not appear.
    
    	matches := 0
    	facts := 0
    	mismatchNotes := []string{}
    	for _, httpRoute := range vs.Spec.Http {
    		routeMatch, newfacts := httpRouteMatchSvc(vs, httpRoute, svc, matchingSubsets, nonmatchingSubsets, dr)
    		if routeMatch {
    			matches++
    			for _, newfact := range newfacts {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. pilot/pkg/model/sidecar_test.go

    				GroupVersionKind: gvk.VirtualService,
    				Name:             "virtualbar",
    				Namespace:        "foo",
    			},
    			Spec: &networking.VirtualService{
    				Hosts: []string{"virtualbar"},
    				Http: []*networking.HTTPRoute{
    					{
    						Mirror: &networking.Destination{Host: "foo.svc.cluster.local"},
    						Route:  []*networking.HTTPRouteDestination{{Destination: &networking.Destination{Host: "baz.svc.cluster.local"}}},
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top