Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SNIHosts (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    with optional subnet. items: type: string type: array gateways: description: Names of gateways where the rule should be applied. items: type: string type: array port: description: Specifies the port on the host that is being addressed. type: integer sniHosts: description: SNI (server name indicator) to match on. items: type: string type: array sourceLabels: additionalProperties: type: string description: One or more labels that constrain the applicability of a rule to workloads with the given labels....
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
Back to top