Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 853 for endpoints1 (0.18 sec)

  1. pkg/controller/endpointslicemirroring/utils.go

    		return nil
    	}
    	return service
    }
    
    // getEndpointsFromDeleteAction parses an Endpoints resource from a delete
    // action.
    func getEndpointsFromDeleteAction(obj interface{}) *corev1.Endpoints {
    	if endpoints, ok := obj.(*corev1.Endpoints); ok {
    		return endpoints
    	}
    	// If we reached here it means the Endpoints resource was deleted but its
    	// final state is unrecorded.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/etcd/etcd_test.go

    type fakeEtcdClient struct {
    	members   []*pb.Member
    	endpoints []string
    }
    
    // Close shuts down the client's etcd connections.
    func (f *fakeEtcdClient) Close() error {
    	f.members = []*pb.Member{}
    	return nil
    }
    
    // Endpoints lists the registered endpoints for the client.
    func (f *fakeEtcdClient) Endpoints() []string {
    	return f.endpoints
    }
    
    // MemberList lists the current cluster membership.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. pilot/pkg/xds/endpoints/ep_filters.go

    					ClusterID: gw.Cluster,
    				},
    				Labels: labelutil.AugmentLabels(nil, gw.Cluster, "", "", gw.Network),
    			}
    
    			// Generate the EDS endpoint for this gateway.
    			gwEp := &endpoint.LbEndpoint{
    				HostIdentifier: &endpoint.LbEndpoint_Endpoint{
    					Endpoint: &endpoint.Endpoint{
    						Address: epAddr,
    					},
    				},
    				LoadBalancingWeight: &wrappers.UInt32Value{
    					Value: epWeight,
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/controller.go

    	}
    	s.mutex.RUnlock()
    
    	if len(allInstances) > 0 {
    		endpoints = make(map[instancesKey][]*model.IstioEndpoint)
    		for _, instance := range allInstances {
    			key := makeInstanceKey(instance)
    			endpoints[key] = append(endpoints[key], instance.Endpoint)
    		}
    
    	}
    	return endpoints
    }
    
    // GetProxyServiceTargets lists service targets co-located with a given proxy
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. pkg/registry/discovery/endpointslice/strategy_test.go

    				Endpoints: []discovery.Endpoint{{
    					Addresses: []string{"1.2.3.4"},
    				}},
    			},
    		},
    		{
    			name: "changed endpoints should increment generation",
    			oldEPS: &discovery.EndpointSlice{
    				ObjectMeta: metav1.ObjectMeta{Generation: 1},
    				Endpoints: []discovery.Endpoint{{
    					Addresses: []string{"1.2.3.4"},
    				}},
    			},
    			newEPS: &discovery.EndpointSlice{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top