Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetSubzone (0.17 sec)

  1. pilot/pkg/networking/util/util.go

    	if regionMatch && zoneMatch && subzoneMatch {
    		return true
    	}
    	return false
    }
    
    func LbPriority(proxyLocality, endpointsLocality *core.Locality) int {
    	if proxyLocality.GetRegion() == endpointsLocality.GetRegion() {
    		if proxyLocality.GetZone() == endpointsLocality.GetZone() {
    			if proxyLocality.GetSubZone() == endpointsLocality.GetSubZone() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ads.go

    		proxy.Locality = &core.Locality{
    			Region:  proxy.XdsNode.Locality.GetRegion(),
    			Zone:    proxy.XdsNode.Locality.GetZone(),
    			SubZone: proxy.XdsNode.Locality.GetSubZone(),
    		}
    	}
    	// add topology labels to proxy labels
    	proxy.Labels = labelutil.AugmentLabels(
    		proxy.Labels,
    		proxy.Metadata.ClusterID,
    		util.LocalityToString(proxy.Locality),
    		proxy.GetNodeName(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. pkg/workloadapi/workload.pb.go

    	if x != nil {
    		return x.Region
    	}
    	return ""
    }
    
    func (x *Locality) GetZone() string {
    	if x != nil {
    		return x.Zone
    	}
    	return ""
    }
    
    func (x *Locality) GetSubzone() string {
    	if x != nil {
    		return x.Subzone
    	}
    	return ""
    }
    
    // PorList represents the ports for a service
    type PortList struct {
    	state         protoimpl.MessageState
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top