Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for zone2 (0.17 sec)

  1. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    				},
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone1",
    					},
    				},
    				{
    					Locality: &core.Locality{
    						Region:  "region1",
    						Zone:    "zone1",
    						SubZone: "subzone2",
    					},
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    				Protocol: protocol.HTTP,
    			},
    		},
    	}
    	m.AddService(svc)
    	localities := []string{
    		"region1/zone1/subzone1",
    		"region1/zone1/subzone2",
    		"region1/zone2/subzone1",
    		"region2/zone1/subzone1",
    		"region2/zone1/subzone2",
    		"region2/zone2/subzone1",
    		"region2/zone2/subzone2",
    	}
    	for i, locality := range localities {
    		_, _ = i, locality
    		m.AddInstance(&model.ServiceInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. pilot/pkg/autoregistration/controller_test.go

    				Weight:         1,
    				Network:        "nw0",
    				Locality:       "rgn1/zone1/subzone1",
    				ServiceAccount: "sa-a",
    			},
    		},
    	}
    	proxy := fakeProxy("10.0.0.1", group, "nw1", "sa")
    	proxy.Labels[model.LocalityLabel] = "rgn2/zone2/subzone2"
    	proxy.XdsNode = fakeNode("rgn2", "zone2", "subzone2")
    	proxy.Locality = proxy.XdsNode.Locality
    
    	wantLabels := map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  4. pilot/pkg/model/service_test.go

    	differingServiceAccount.Endpoint.ServiceAccount = "service-account-two"
    	differingLocality := exampleInstance.DeepCopy()
    	differingLocality.Endpoint.Locality = Locality{
    		ClusterID: "cluster-id-two",
    		Label:     "region2/zone2/subzone2",
    	}
    	differingLbWeight := exampleInstance.DeepCopy()
    	differingLbWeight.Endpoint.LbWeight = 0
    
    	cases := []struct {
    		comparer *WorkloadInstance
    		comparee *WorkloadInstance
    		shouldEq bool
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. pilot/pkg/networking/util/util_test.go

    			},
    		},
    		{
    			name:     "locality with region and zone",
    			locality: "region/zone",
    			want: &core.Locality{
    				Region: "region",
    				Zone:   "zone",
    			},
    		},
    		{
    			name:     "locality with region zone and subzone",
    			locality: "region/zone/subzone",
    			want: &core.Locality{
    				Region:  "region",
    				Zone:    "zone",
    				SubZone: "subzone",
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. src/time/zoneinfo_read.go

    	// First the zone information.
    	//	utcoff[4] isdst[1] nameindex[1]
    	nzone := n[NZone]
    	if nzone == 0 {
    		// Reject tzdata files with no zones. There's nothing useful in them.
    		// This also avoids a panic later when we add and then use a fake transition (golang.org/issue/29437).
    		return nil, errBadData
    	}
    	zones := make([]zone, nzone)
    	for i := range zones {
    		var ok bool
    		var n uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/net/netip/netip.go

    // WithZone returns an IP that's the same as ip but with the provided
    // zone. If zone is empty, the zone is removed. If ip is an IPv4
    // address, WithZone is a no-op and returns ip unchanged.
    func (ip Addr) WithZone(zone string) Addr {
    	if !ip.Is6() {
    		return ip
    	}
    	if zone == "" {
    		ip.z = z6noz
    		return ip
    	}
    	ip.z = unique.Make(addrDetail{IsV6: true, ZoneV6: zone})
    	return ip
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. pkg/bootstrap/testdata/running_golden.json

      },
      "layered_runtime": {
          "layers": [
              {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. pkg/bootstrap/testdata/runningsds_golden.json

      },
      "layered_runtime": {
          "layers": [
              {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. src/time/zoneinfo.go

    	// either one.)
    	for i := range l.zone {
    		zone := &l.zone[i]
    		if zone.name == name {
    			nam, offset, _, _, _ := l.lookup(unix - int64(zone.offset))
    			if nam == zone.name {
    				return offset, true
    			}
    		}
    	}
    
    	// Otherwise fall back to an ordinary name match.
    	for i := range l.zone {
    		zone := &l.zone[i]
    		if zone.name == name {
    			return zone.offset, true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top