Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 568 for endpoints1 (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go

    						},
    					},
    				},
    			},
    			endpoints: func(svc *v1.Service) []*v1.Endpoints {
    				return []*v1.Endpoints{{
    					ObjectMeta: metav1.ObjectMeta{Namespace: svc.Namespace, Name: svc.Name},
    					Subsets:    []v1.EndpointSubset{},
    				}}
    			},
    
    			clusterMode:  expectation{url: "https://hit:443"},
    			endpointMode: expectation{error: true},
    		},
    		{
    			name: "endpoint subset without addresses",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:27 UTC 2023
    - 8.6K 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. 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)
  5. guava/src/com/google/common/graph/StandardMutableGraph.java

        return backingValueGraph.putEdgeValue(nodeU, nodeV, Presence.EDGE_EXISTS) == null;
      }
    
      @Override
      public boolean putEdge(EndpointPair<N> endpoints) {
        validateEndpoints(endpoints);
        return putEdge(endpoints.nodeU(), endpoints.nodeV());
      }
    
      @Override
      public boolean removeNode(N node) {
        return backingValueGraph.removeNode(node);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. pilot/pkg/xds/testdata/none_eds.json

    {
        "outbound|2000||s1tcp.none": {
          "cluster_name": "outbound|2000||s1tcp.none",
          "endpoints": [
            {
              "lb_endpoints": [
                {
                  "endpoint": {
                    "address": {
                      "Address": {
                        "SocketAddress": {
                          "address": "10.11.0.1",
                          "PortSpecifier": {
                            "PortValue": 7070
                          }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 26 15:28:15 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/MutableGraph.java

      /**
       * Adds an edge connecting {@code endpoints} (in the order, if any, specified by {@code
       * endpoints}) if one is not already present.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered and the added edge will be
       * directed; if it is undirected, the added edge will be undirected.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go

    	}
    
    	// Create an endpoint that indicates it's an MCS endpoint for the service.
    	svc1Ips := []string{"128.0.0.1"}
    	portNames := []string{"tcp-port"}
    	createEndpoints(t, controller, svcName, ns, portNames, svc1Ips, nil, map[string]string{
    		mcs.LabelServiceName: svcName,
    	})
    	fx.AssertEmpty(t, time.Millisecond*50)
    
    	// Ensure that no endpoint is create
    	endpoints := GetEndpoints(svc, controller.Endpoints)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. pkg/registry/core/endpoint/strategy.go

    }
    
    // AllowCreateOnUpdate is true for endpoints.
    func (endpointsStrategy) AllowCreateOnUpdate() bool {
    	return true
    }
    
    // ValidateUpdate is the default update validation for an end user.
    func (endpointsStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return validation.ValidateEndpointsUpdate(obj.(*api.Endpoints), old.(*api.Endpoints))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        if (!isOrderingCompatible(endpoints)) {
          return false;
        }
        N nodeU = endpoints.nodeU();
        N nodeV = endpoints.nodeV();
        return nodes().contains(nodeU) && successors(nodeU).contains(nodeV);
      }
    
      /**
       * Throws {@code IllegalArgumentException} if the ordering of {@code endpoints} is not compatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top