Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 837 for endpoints1 (0.2 sec)

  1. internal/config/etcd/etcd.go

    		}
    		// If one of the endpoint is https, we will use https directly.
    		etcdSecure = etcdSecure || u.Scheme == "https"
    	}
    
    	return etcdEndpoints, etcdSecure, nil
    }
    
    // Enabled returns if etcd is enabled.
    func Enabled(kvs config.KVS) bool {
    	endpoints := kvs.Get(Endpoints)
    	return endpoints != ""
    }
    
    // LookupConfig - Initialize new etcd config.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. pilot/pkg/model/endpointshards_test.go

    		name      string
    		shardKey  ShardKey
    		endpoints []*IstioEndpoint
    		expect    bool
    	}{
    		{
    			name:      "added new endpoint",
    			shardKey:  c1Key,
    			endpoints: append(cluster1Endppoints, &IstioEndpoint{Address: "10.172.0.3", ServiceAccount: "sa1"}),
    			expect:    false,
    		},
    		{
    			name:      "added new sa",
    			shardKey:  c1Key,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 15:48:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    	svcs := ec.Services()
    	for _, s := range svcs {
    		ep := GetEndpoints(s, endpoints)
    		if len(ep) > 0 {
    			return ep[0]
    		}
    	}
    	return nil
    }
    
    func GetEndpoints(s *model.Service, endpoints *model.EndpointIndex) []*model.IstioEndpoint {
    	return GetEndpointsForPort(s, endpoints, 0)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        if (!isOrderingCompatible(endpoints)) {
          return false;
        }
        return hasEdgeConnecting(endpoints.nodeU(), endpoints.nodeV());
      }
    
      /**
       * Throws an IllegalArgumentException if the ordering of {@code endpoints} is not compatible with
       * the directionality of this graph.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. pkg/proxy/winkernel/hns.go

    		return nil, err
    	}
    
    	endpoints, err := hns.hcn.ListEndpoints()
    	if err != nil {
    		return nil, fmt.Errorf("failed to list endpoints: %w", err)
    	}
    	for _, endpoint := range endpoints {
    		equal := false
    		if endpoint.IpConfigurations != nil && len(endpoint.IpConfigurations) > 0 {
    			equal = endpoint.IpConfigurations[0].IpAddress == ip
    
    			if !equal && len(endpoint.IpConfigurations) > 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  6. pkg/proxy/topology.go

    func availableForTopology(endpoint Endpoint, nodeLabels map[string]string) bool {
    	zone := nodeLabels[v1.LabelTopologyZone]
    	return endpoint.ZoneHints().Has(zone)
    }
    
    // filterEndpoints filters endpoints according to predicate
    func filterEndpoints(endpoints []Endpoint, predicate func(Endpoint) bool) []Endpoint {
    	filteredEndpoints := make([]Endpoint, 0, len(endpoints))
    
    	for _, ep := range endpoints {
    		if predicate(ep) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 06:46:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/etcd/etcd.go

    		return nil, errors.Wrapf(err, "error creating etcd client for %v endpoints", endpoints)
    	}
    
    	// synchronizes client's endpoints with the known endpoints from the etcd membership.
    	err = etcdClient.Sync()
    	if err != nil {
    		return nil, errors.Wrap(err, "error syncing endpoints with etcd")
    	}
    	klog.V(1).Infof("update etcd endpoints: %s", strings.Join(etcdClient.Endpoints, ","))
    
    	return etcdClient, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        if (!isOrderingCompatible(endpoints)) {
          return false;
        }
        return hasEdgeConnecting(endpoints.nodeU(), endpoints.nodeV());
      }
    
      /**
       * Throws an IllegalArgumentException if the ordering of {@code endpoints} is not compatible with
       * the directionality of this graph.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    			if svc != nil {
    				fep := esc.c.collectWorkloadInstanceEndpoints(svc)
    				endpoints = append(endpoints, fep...)
    			} else {
    				log.Debugf("Handle EDS endpoint: skip collecting workload entry endpoints, service %s/ has not been populated",
    					hostname)
    			}
    		}
    
    		esc.c.opts.XDSUpdater.EDSUpdate(shard, string(hostname), namespace, endpoints)
    	}
    }
    
    // getPod fetches a pod by name or IP address.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. pilot/pkg/xds/endpoints/ep_filters_test.go

    			{
    				Network: "network3",
    				Cluster: "cluster3",
    				Addr:    "3.3.3.3",
    				Port:    443,
    			},
    		},
    	})
    	return ds
    }
    
    // testShards creates endpoints to be handed to the filter:
    //   - 2 endpoints in network1
    //   - 1 endpoints in network2
    //   - 0 endpoints in network3
    //   - 1 endpoints in network4
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top