- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for HTTPRoute (0.82 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
}, }, }, } virtualServiceSpec := &networking.VirtualService{ Hosts: []string{"example.org"}, Gateways: []string{"gateway", "gateway-redirect"}, Http: []*networking.HTTPRoute{ { Route: []*networking.HTTPRouteDestination{ { Destination: &networking.Destination{ Host: "example.org", Port: &networking.PortSelector{ Number: 80,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 144K bytes - Viewed (0) -
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) -
operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz
type: array maxAge: description: Specifies how long the results of a preflight request can be cached. type: string type: object delegate: description: Delegate is used to specify the particular VirtualService which can be used to define delegate HTTPRoute. properties: name: description: Name specifies the name of the delegate VirtualService. type: string namespace: description: Namespace specifies the namespace where the delegate VirtualService resides. type: string type: object directResponse: description:...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 198.1K bytes - Viewed (0)