Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for subMono (0.25 sec)

  1. pkg/config/validation/agent/validation.go

    					}
    					if regionZoneSubZoneMap[region][zone][subZone] {
    						return fmt.Errorf("locality %s overlap with previous specified ones", locality)
    					}
    					regionZoneSubZoneMap[region][zone][subZone] = true
    				} else {
    					regionZoneSubZoneMap[region][zone] = map[string]bool{subZone: true}
    				}
    			} else {
    				regionZoneSubZoneMap[region] = map[string]map[string]bool{zone: {subZone: true}}
    			}
    		}
    	}
    
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  2. pkg/bootstrap/config_test.go

    	defer os.Chdir(dir)
    	// prepare a pod label file
    	tempDir := t.TempDir()
    	os.Chdir(tempDir)
    	os.MkdirAll("./etc/istio/pod/", os.ModePerm)
    	os.WriteFile(constants.PodInfoLabelsPath, []byte(`istio-locality="region.zone.subzone"`), 0o600)
    
    	node, err := GetNodeMetaData(MetadataOptions{
    		ID:                          "test",
    		Envs:                        os.Environ(),
    		ExitOnZeroActiveConnections: true,
    	})
    
    	g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/net/netip/uint128_test.go

    		{uint128{1, 1}, sub1, uint128{1, 0}},
    	}
    	for _, tt := range tests {
    		var got uint128
    		switch tt.op {
    		case add1:
    			got = tt.in.addOne()
    		case sub1:
    			got = tt.in.subOne()
    		default:
    			panic("bogus op")
    		}
    		if got != tt.want {
    			t.Errorf("%v add %d = %v; want %v", tt.in, tt.op, got, tt.want)
    		}
    	}
    }
    
    func TestBitsSetFrom(t *testing.T) {
    	tests := []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 01:28:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    		locality := localityLbEndpoint.Locality
    		if locality.Region == "region1" && locality.SubZone == "subzone1" {
    			g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(34)))
    			g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(40)))
    		} else if locality.Region == "region1" && locality.SubZone == "subzone2" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pkg/model/proxy.go

    func ConvertLocality(locality string) *core.Locality {
    	if locality == "" {
    		return &core.Locality{}
    	}
    
    	region, zone, subzone := label.SplitLocalityLabel(locality)
    	return &core.Locality{
    		Region:  region,
    		Zone:    zone,
    		SubZone: subzone,
    	}
    }
    
    // ALPNH2Only advertises that Proxy is going to use HTTP/2 when talking to the cluster.
    var ALPNH2Only = []string{"h2"}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/AbstractLockingIntegrationTest.groovy

        }
    }
    configurations {
        lockedConf
        subConf
    }
    
    dependencies {
        lockedConf 'org:bar:${version}'
        subConf 'org:bar:1.1'
    }
    """
    
            when:
            succeeds'dependencies', '--write-locks'
    
            then:
            lockfileFixture.verifyLockfile(['lockedConf': ["org:bar:${resolved}"], 'subConf': ['org:bar:1.1']])
    
            where:
            version     | resolved
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    				if loadAssignment.Endpoints[i] != nil {
    					loadAssignment.Endpoints[i].LbEndpoints = nil
    				}
    			}
    			break
    		}
    	}
    }
    
    // set locality loadbalancing priority - This is based on Region/Zone/SubZone matching.
    func applyLocalityFailover(
    	locality *core.Locality,
    	loadAssignment *endpoint.ClusterLoadAssignment,
    	failover []*v1alpha3.LocalityLoadBalancerSetting_Failover,
    ) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. pkg/workloadapi/workload.proto

    message LoadBalancing {
      enum Scope {
        UNSPECIFIED_SCOPE = 0;
        // Prefer traffic in the same region.
        REGION = 1;
        // Prefer traffic in the same zone.
        ZONE = 2;
        // Prefer traffic in the same subzone.
        SUBZONE = 3;
        // Prefer traffic on the same node.
        NODE = 4;
        // Prefer traffic in the same cluster.
        CLUSTER = 5;
        // Prefer traffic in the same network.
        NETWORK = 6;
      }
      enum Mode {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_builder_test.go

    				return true
    			}
    			if strings.Compare(endpoints[i].Locality.Zone, endpoints[j].Locality.Zone) < 0 {
    				return true
    			}
    			return strings.Compare(endpoints[i].Locality.SubZone, endpoints[j].Locality.SubZone) < 0
    		})
    	}
    
    	for _, tt := range cases {
    		for _, resolution := range []model.Resolution{model.DNSLB, model.DNSRoundRobinLB} {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top