Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 457 for endpoints2 (0.13 sec)

  1. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			expectedResult: endpoints2,
    			expectUpdate:   []runtime.Object{endpoints2, epSlice2},
    			initialState:   []runtime.Object{endpoints2, epSlice1},
    			namespaceParam: "testing",
    			endpointsParam: endpoints2,
    		},
    		"endpointslice-correct-endpoints-wrong": {
    			expectedError:  nil,
    			expectedResult: endpoints2,
    			expectUpdate:   []runtime.Object{endpoints2},
    			initialState:   []runtime.Object{endpoints1, epSlice2},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/proxy/config/config_test.go

    		Endpoints: []discoveryv1.Endpoint{{
    			Addresses: []string{"7.7.7.7"},
    		}},
    		Ports: []discoveryv1.EndpointPort{{Port: ptr.To[int32](80)}},
    	}
    	fakeWatch.Modify(endpoints1v2)
    	endpoints = []*discoveryv1.EndpointSlice{endpoints2, endpoints1v2, endpoints3}
    	handler.ValidateEndpointSlices(t, endpoints)
    	handler2.ValidateEndpointSlices(t, endpoints)
    
    	// Remove "bar" endpoints
    	fakeWatch.Delete(endpoints2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. 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)
  4. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		if epCount != 0 {
    			endpoints = append(endpoints, cla)
    		}
    	}
    	for _, e := range dump.GetStaticEndpointConfigs() {
    		cla, epCount := retrieveEndpoint(e.EndpointConfig, filter)
    		if epCount != 0 {
    			endpoints = append(endpoints, cla)
    		}
    	}
    	sort.Slice(endpoints, func(i, j int) bool {
    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(endpoints[i].ClusterName)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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)
  6. cmd/endpoint.go

    	return allSet.ToSlice(), local
    }
    
    // Endpoints - list of same type of endpoint.
    type Endpoints []Endpoint
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoints Endpoints) HTTPS() bool {
    	return endpoints[0].HTTPS()
    }
    
    // GetString - returns endpoint string of i-th endpoint (0-based),
    // and empty string for invalid indexes.
    func (endpoints Endpoints) GetString(i int) string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses_test.go

    			"http://minio{2...3}/export/set{1...0}",
    			endpointSet{},
    			false,
    		},
    		// Range cannot be smaller than 4 minimum.
    		{
    			"/export{1..2}",
    			endpointSet{},
    			false,
    		},
    		// Unsupported characters.
    		{
    			"/export/test{1...2O}",
    			endpointSet{},
    			false,
    		},
    		// Tests valid inputs.
    		{
    			"{1...27}",
    			endpointSet{
    				[]ellipses.ArgPattern{
    					[]ellipses.Pattern{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Endpoints.json

    {
      "kind": "Endpoints",
      "apiVersion": "v1",
      "metadata": {
        "name": "nameValue",
        "generateName": "generateNameValue",
        "namespace": "namespaceValue",
        "selfLink": "selfLinkValue",
        "uid": "uidValue",
        "resourceVersion": "resourceVersionValue",
        "generation": 7,
        "creationTimestamp": "2008-01-01T01:01:01Z",
        "deletionTimestamp": "2009-01-01T01:01:01Z",
        "deletionGracePeriodSeconds": 10,
        "labels": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Endpoints.yaml

    apiVersion: v1
    kind: Endpoints
    metadata:
      annotations:
        annotationsKey: annotationsValue
      creationTimestamp: "2008-01-01T01:01:01Z"
      deletionGracePeriodSeconds: 10
      deletionTimestamp: "2009-01-01T01:01:01Z"
      finalizers:
      - finalizersValue
      generateName: generateNameValue
      generation: 7
      labels:
        labelsKey: labelsValue
      managedFields:
      - apiVersion: apiVersionValue
        fieldsType: fieldsTypeValue
        fieldsV1: {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top