Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for SubZone (0.29 sec)

  1. pilot/pkg/model/service.go

    		return "DNSRoundRobin"
    	case Passthrough:
    		return "Passthrough"
    	default:
    		return fmt.Sprintf("%d", int(resolution))
    	}
    }
    
    const (
    	// LocalityLabel indicates the region/zone/subzone of an instance. It is used to override the native
    	// registry's value.
    	//
    	// Note: because k8s labels does not support `/`, so we use `.` instead in k8s.
    	LocalityLabel = pm.LocalityLabel
    )
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			},
    			wantAZ: map[*corev1.Pod]string{
    				pod1: "/zone1/",
    				pod2: "/zone2/",
    			},
    		},
    		{
    			name: "should return correct az if node has only subzone label",
    			pods: []*corev1.Pod{pod1, pod2},
    			nodes: []*corev1.Node{
    				generateNode("node1", map[string]string{label.TopologySubzone.Name: "subzone1"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. src/net/netip/inlining_test.go

    		"appendDecimal",
    		"appendHex",
    		"uint128.addOne",
    		"uint128.and",
    		"uint128.bitsClearedFrom",
    		"uint128.bitsSetFrom",
    		"uint128.isZero",
    		"uint128.not",
    		"uint128.or",
    		"uint128.subOne",
    		"uint128.xor",
    	}
    	switch runtime.GOARCH {
    	case "amd64", "arm64":
    		// These don't inline on 32-bit.
    		wantInlinable = append(wantInlinable,
    			"Addr.AsSlice",
    			"Addr.Next",
    			"Addr.Prev",
    		)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/net/netip/netip.go

    func (ip Addr) Prev() Addr {
    	if ip.Is4() {
    		if uint32(ip.addr.lo) == 0 {
    			return Addr{}
    		}
    	} else if ip.addr.isZero() {
    		return Addr{}
    	}
    	ip.addr = ip.addr.subOne()
    	return ip
    }
    
    // String returns the string form of the IP address ip.
    // It returns one of 5 forms:
    //
    //   - "invalid IP", if ip is the zero [Addr]
    //   - IPv4 dotted decimal ("192.0.2.1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top