Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for HTTPRoute (0.12 sec)

  1. pkg/config/validation/virtualservice.go

    	RootRoute
    	DelegateRoute
    )
    
    func getHTTPRouteType(http *networking.HTTPRoute, isDelegate bool) HTTPRouteType {
    	if isDelegate {
    		return DelegateRoute
    	}
    	// root vs's http route
    	if http.Delegate != nil {
    		return RootRoute
    	}
    	return IndependentRoute
    }
    
    func validateHTTPRoute(http *networking.HTTPRoute, delegate, gatewaySemantics bool) (errs Validation) {
    	routeType := getHTTPRouteType(http, delegate)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. 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)
  3. pkg/config/constants/constants.go

    	// InternalParentNames declares the original resources of an internally-generated config.
    	// This is used by k8s gateway-api.
    	// It is a comma separated list. For example, "HTTPRoute/foo.default,HTTPRoute/bar.default"
    	InternalParentNames      = "internal.istio.io/parents"
    	InternalRouteSemantics   = "internal.istio.io/route-semantics"
    	RouteSemanticsIngress    = "ingress"
    	RouteSemanticsGateway    = "gateway"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_waypoint.go

    		}
    	}
    
    	if len(out) == 0 {
    		return nil, fmt.Errorf("no routes matched")
    	}
    	return out, nil
    }
    
    func (lb *ListenerBuilder) translateRoute(
    	virtualService config.Config,
    	in *networking.HTTPRoute,
    	match *networking.HTTPMatchRequest,
    	listenPort int,
    ) *route.Route {
    	// When building routes, it's okay if the target cluster cannot be
    	// resolved Traffic to such clusters will blackhole.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. 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)
  6. pkg/config/validation/validation.go

    		}
    		for _, httpRoute := range virtualService.Http {
    			if httpRoute == nil {
    				errs = AppendValidation(errs, errors.New("http route may not be null"))
    				continue
    			}
    			errs = AppendValidation(errs, validateHTTPRoute(httpRoute, len(virtualService.Hosts) == 0, gatewaySemantics))
    		}
    		for _, tlsRoute := range virtualService.Tls {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top