Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for namedPort (0.28 sec)

  1. pkg/proxy/endpointschangetracker_test.go

    			NodeName:  ptr.To(testHostname),
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p11"),
    			Port:     ptr.To[int32](11),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	namedPort := func(eps *discovery.EndpointSlice) {
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"1.1.1.1"},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p11"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  2. src/net/url/url_test.go

    	}
    }
    
    func TestParseErrors(t *testing.T) {
    	tests := []struct {
    		in      string
    		wantErr bool
    	}{
    		{"http://[::1]", false},
    		{"http://[::1]:80", false},
    		{"http://[::1]:namedport", true}, // rfc3986 3.2.3
    		{"http://x:namedport", true},     // rfc3986 3.2.3
    		{"http://[::1]/", false},
    		{"http://[::1]a", true},
    		{"http://[::1]%23", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route.go

    	// If there is only one destination cluster in route, return host:port/uri as description of route.
    	// Otherwise there are multiple destination clusters and destination host is not clear. For that case
    	// return virtual service name:port/uri as substitute.
    	if c := in.GetRoute().GetCluster(); model.IsValidSubsetKey(c) {
    		// Parse host and port from cluster name.
    		_, _, h, p := model.ParseSubsetKey(c)
    		return string(h) + ":" + strconv.Itoa(p) + path
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top