Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 642 for endpoints1 (0.14 sec)

  1. 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)
  2. 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)
  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. pkg/proxy/endpointslicecache.go

    // addEndpoints adds an Endpoint for each unique endpoint.
    func (cache *EndpointSliceCache) addEndpoints(svcPortName *ServicePortName, portNum int, endpointSet map[string]Endpoint, endpoints []discovery.Endpoint) map[string]Endpoint {
    	if endpointSet == nil {
    		endpointSet = map[string]Endpoint{}
    	}
    
    	// iterate through endpoints to add them to endpointSet.
    	for _, endpoint := range endpoints {
    		if len(endpoint.Addresses) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. pkg/proxy/conntrack/cleanup.go

    		if svcInfo, ok := svcPortMap[epSvcPair.ServicePortName]; ok {
    			endpointIP := proxyutil.IPPart(epSvcPair.Endpoint)
    			nodePort := svcInfo.NodePort()
    			var err error
    			if nodePort != 0 {
    				err = ct.ClearEntriesForPortNAT(endpointIP, nodePort, v1.ProtocolUDP)
    				if err != nil {
    					klog.ErrorS(err, "Failed to delete nodeport-related endpoint connections", "servicePortName", epSvcPair.ServicePortName)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top