Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,209 for endpointId (0.3 sec)

  1. pkg/proxy/config/config_test.go

    		}},
    		Ports: []discoveryv1.EndpointPort{{Port: ptr.To[int32](80)}},
    	}
    	fakeWatch.Add(endpoints3)
    	endpoints = []*discoveryv1.EndpointSlice{endpoints2, endpoints1, endpoints3}
    	handler.ValidateEndpointSlices(t, endpoints)
    	handler2.ValidateEndpointSlices(t, endpoints)
    
    	// Update the "foo" service with new endpoints
    	endpoints1v2 := &discoveryv1.EndpointSlice{
    		ObjectMeta:  metav1.ObjectMeta{Namespace: "testnamespace", Name: "foo"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	GridHost string
    }
    
    // Endpoint - any type of endpoint.
    type Endpoint struct {
    	*url.URL
    	IsLocal bool
    
    	PoolIdx, SetIdx, DiskIdx int
    }
    
    // Equal returns true if endpoint == ep
    func (endpoint Endpoint) Equal(ep Endpoint) bool {
    	if endpoint.IsLocal == ep.IsLocal && endpoint.PoolIdx == ep.PoolIdx && endpoint.SetIdx == ep.SetIdx && endpoint.DiskIdx == ep.DiskIdx {
    		if endpoint.Path == ep.Path && endpoint.Host == ep.Host {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/MultiChannelQueueTest.groovy

            given:
            def endpoint1 = queue.getChannel(id1).newEndpoint()
            def endpoint2 = queue.getChannel(id2).newEndpoint()
    
            when:
            def messages1 = []
            def messages2 = []
            queue.queue(message1)
            queue.queue(message2)
            queue.queue(message3)
            endpoint1.take(messages1)
            endpoint2.take(messages2)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. pkg/registry/registrytest/endpoint.go

    	for ix := range e.Endpoints.Items {
    		if e.Endpoints.Items[ix].Name == endpoints.Name {
    			e.Endpoints.Items[ix] = *endpoints
    		}
    	}
    	e.Endpoints.Items = append(e.Endpoints.Items, *endpoints)
    	return endpoints, false, nil
    }
    
    func (e *EndpointRegistry) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error) {
    	// TODO: support namespaces in this mock
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4K bytes
    - Viewed (0)
  5. pilot/test/xdstest/endpoints.go

    func CompareEndpointsOrFail(t *testing.T, cluster string, got []*endpointv3.LocalityLbEndpoints, want []LocLbEpInfo) {
    	if err := CompareEndpoints(cluster, got, want); err != nil {
    		t.Error(err)
    	}
    }
    
    func CompareEndpoints(cluster string, got []*endpointv3.LocalityLbEndpoints, want []LocLbEpInfo) error {
    	if len(got) != len(want) {
    		return fmt.Errorf("unexpected number of filtered endpoints for %s: got %v, want %v", cluster, len(got), len(want))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. pkg/proxy/endpointslicecache_test.go

    				Endpoints:  []discovery.Endpoint{endpoint1, endpoint2},
    			},
    			expectChanged: false,
    		},
    		"identical with endpoints out of order": {
    			cache: NewEndpointSliceCache("", v1.IPv4Protocol, nil, nil),
    			initialSlice: &discovery.EndpointSlice{
    				ObjectMeta: objMeta,
    				Ports:      []discovery.EndpointPort{port443},
    				Endpoints:  []discovery.Endpoint{endpoint1, endpoint2},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. pkg/proxy/config/api_test.go

    	// Delete endpoints1
    	fakeWatch.Delete(endpoints1v2)
    	handler.ValidateEndpointSlices(t, []*discoveryv1.EndpointSlice{endpoints2})
    
    	// Delete endpoints2
    	fakeWatch.Delete(endpoints2)
    	handler.ValidateEndpointSlices(t, []*discoveryv1.EndpointSlice{})
    }
    
    func TestInitialSync(t *testing.T) {
    	_, ctx := klogtesting.NewTestContext(t)
    	svc1 := &v1.Service{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

      # network does seem to persist across reboots, the HNS endpoints do not.
      if ($hns_endpoint) {
        if ($REDO_STEPS) {
          Log-Output ("Warning: HNS endpoint $endpoint_name already exists, " +
                      "removing it and recreating it")
          $hns_endpoint | Remove-HnsEndpoint
          $hns_endpoint = $null
        }
        else {
          Log-Output "Skip: HNS endpoint $endpoint_name already exists"
        }
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses.go

    }
    
    // Returns all the expanded endpoints, each argument is expanded separately.
    func (s *endpointSet) getEndpoints() (endpoints []string) {
    	if len(s.endpoints) != 0 {
    		return s.endpoints
    	}
    	for _, argPattern := range s.argPatterns {
    		for _, lbls := range argPattern.Expand() {
    			endpoints = append(endpoints, strings.Join(lbls, ""))
    		}
    	}
    	s.endpoints = endpoints
    	return endpoints
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/endpoint.go

    	// get the URL of the local endpoint
    	localAPIEndpoint, err := GetLocalAPIEndpoint(localEndpoint)
    	if err != nil {
    		return "", err
    	}
    
    	// if the controlplane endpoint is defined
    	if len(controlPlaneEndpoint) > 0 {
    		// parse the controlplane endpoint
    		var host, port string
    		var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 11 15:08:59 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top