Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 165 for localisty (0.16 sec)

  1. pkg/model/proxy.go

    	}
    	return ""
    }
    
    // ConvertLocality converts '/' separated locality string to Locality struct.
    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,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    		"region2/zone2/subzone2",
    	}
    	for i, locality := range localities {
    		_, _ = i, locality
    		m.AddInstance(&model.ServiceInstance{
    			Service: svc,
    			Endpoint: &model.IstioEndpoint{
    				Address:         fmt.Sprintf("10.0.0.%v", i),
    				EndpointPort:    80,
    				ServicePortName: "http",
    				Locality:        model.Locality{Label: locality},
    			},
    			ServicePort: &model.Port{
    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/networking/util/util.go

    		return hosts[i].Name < hosts[j].Name
    	})
    }
    
    // ConvertLocality converts '/' separated locality string to Locality struct.
    func ConvertLocality(locality string) *core.Locality {
    	return pm.ConvertLocality(locality)
    }
    
    // LocalityToString converts Locality struct to '/' separated locality string.
    func LocalityToString(l *core.Locality) string {
    	if l == nil {
    		return ""
    	}
    	resp := l.Region
    	if l.Zone == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/loadbalancer/fuzz_test.go

    		if err != nil {
    			return
    		}
    
    		loadAssignment := &endpoint.ClusterLoadAssignment{}
    		err = ff.GenerateStruct(loadAssignment)
    		if err != nil {
    			return
    		}
    
    		locality := &core.Locality{}
    		err = ff.GenerateStruct(locality)
    		if err != nil {
    			return
    		}
    
    		localityLB := &v1alpha3.LocalityLoadBalancerSetting{}
    		err = ff.GenerateStruct(localityLB)
    		if err != nil {
    			return
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/config/validation/agent/validation.go

    				return fmt.Errorf("locality %s wildcard '*' number can not exceed 1 and must be in the end", locality)
    			}
    		}
    		if _, exist := regionZoneSubZoneMap["*"]; exist {
    			return fmt.Errorf("locality %s overlap with previous specified ones", locality)
    		}
    
    		region, zone, subZone, localityIndex, err := getLocalityParam(locality)
    		if err != 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)
  6. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	}
    	networkID := s.workloadEntryNetwork(wle)
    	locality := wle.Locality
    	if locality == "" && len(wle.Labels[model.LocalityLabel]) > 0 {
    		locality = model.GetLocalityLabel(wle.Labels[model.LocalityLabel])
    	}
    	labels := labelutil.AugmentLabels(wle.Labels, clusterID, locality, "", networkID)
    	return &model.ServiceInstance{
    		Endpoint: &model.IstioEndpoint{
    			Address:         addr,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java

                IssueLocality locality, RepositorySystemSession session, Artifact pluginArtifact, String issue);
    
        /**
         * Reports plugin issues applicable to the plugin as a whole.
         * <p>
         * This method will record extra information as well, like plugin occurrence or declaration location.
         */
        void reportPluginValidationIssue(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri May 26 16:22:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            pluginIssues.reportPluginIssue(locality, null, issue);
            mayReportInline(session, locality, issue);
        }
    
        @Override
        public void reportPluginValidationIssue(
                IssueLocality locality, MavenSession mavenSession, MojoDescriptor mojoDescriptor, String issue) {
            String pluginKey = pluginKey(mojoDescriptor);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 23 12:25:04 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  9. 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)
  10. pkg/bootstrap/platform/azure.go

    	if aid := e.azureVMID(); aid != "" {
    		md[e.prefixName("vmId")] = aid
    	}
    	for k, v := range e.azureTags() {
    		md[k] = v
    	}
    	return md
    }
    
    // Locality returns the region and zone
    func (e *azureEnv) Locality() *core.Locality {
    	var l core.Locality
    	l.Region = e.azureLocation()
    	l.Zone = e.azureZone()
    	return &l
    }
    
    func (e *azureEnv) Labels() map[string]string {
    	return map[string]string{}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top