Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/proxy/util/endpoints.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"net"
    
    	"k8s.io/klog/v2"
    	netutils "k8s.io/utils/net"
    )
    
    // IPPart returns just the IP part of an IP or IP:port or endpoint string. If the IP
    // part is an IPv6 address enclosed in brackets (e.g. "[fd00:1::5]:9999"),
    // then the brackets are stripped as well.
    func IPPart(s string) string {
    	if ip := netutils.ParseIPSloppy(s); ip != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Endpoints.pb

    SataQiu <******@****.***> 1713430345 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 728 bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    	var clnts []*bootstrapRESTClient
    	for _, ep := range endpointServerPools {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				continue
    			}
    			if seenClient.Contains(endpoint.Host) {
    				continue
    			}
    			seenClient.Add(endpoint.Host)
    			clnts = append(clnts, &bootstrapRESTClient{gm.Connection(endpoint.GridHost())})
    		}
    	}
    	return clnts
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top