- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SNIHosts (0.1 sec)
-
pilot/pkg/networking/core/gateway_test.go
t.Errorf("expecting httpopts:\n %+v \nbut got:\n %+v", tc.result.httpOpts, ret.httpOpts) } if !reflect.DeepEqual(tc.result.sniHosts, ret.sniHosts) { t.Errorf("expecting snihosts %+v but got %+v", tc.result.sniHosts, ret.sniHosts) } }) } } func TestGatewayHTTPRouteConfig(t *testing.T) { httpRedirectGateway := config.Config{ Meta: config.Meta{
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_test.go
{name: "missing tls route", in: &networking.VirtualService{ Hosts: []string{"foo.bar"}, Tls: []*networking.TLSRoute{{ Match: []*networking.TLSMatchAttributes{ { Port: 999, SniHosts: []string{"foo.bar"}, }, }, }}, }, valid: false}, {name: "deprecated mirror", in: &networking.VirtualService{ Hosts: []string{"foo.bar"}, Gateways: []string{"ns1/gateway"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pkg/config/validation/validation.go
if match == nil { errs = AppendValidation(errs, errors.New("TLS match may not be null")) return } if len(match.SniHosts) == 0 { errs = AppendValidation(errs, fmt.Errorf("TLS match must have at least one SNI host")) } else { for _, sniHost := range match.SniHosts { errs = AppendValidation(errs, validateSniHost(sniHost, context)) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0)