Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 853 for endpoints1 (0.15 sec)

  1. 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)
  2. pkg/controller/endpointslicemirroring/metrics/cache.go

    // Parameters:
    // * endpointsNN refers to a NamespacedName representing the Endpoints resource.
    // * epCache refers to a EndpointPortCache for the specified Endpoints reosource.
    func (c *Cache) UpdateEndpointPortCache(endpointsNN types.NamespacedName, epCache *EndpointPortCache) {
    	c.lock.Lock()
    	defer c.lock.Unlock()
    
    	prevNumEndpoints := 0
    	if existingEPCache, ok := c.cache[endpointsNN]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/queue/MultiEndPointQueueTest.groovy

            def endpoint1 = queue.newEndpoint()
            def endpoint2 = queue.newEndpoint()
    
            and:
            queue.empty(endpoint1)
            queue.empty(endpoint2)
    
            when:
            queue.dispatch(message)
            queue.dispatch(message2)
            def messages1 = []
            endpoint1.take(messages1)
            def messages2 = []
            endpoint2.take(messages2)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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/controller/endpointslicemirroring/reconciler.go

    	endpointsNN := types.NamespacedName{Name: endpoints.Name, Namespace: endpoints.Namespace}
    	r.metricsCache.UpdateEndpointPortCache(endpointsNN, epMetrics)
    
    	return r.finalize(endpoints, slices)
    }
    
    // reconcileByPortMapping compares the endpoints found in existing slices with
    // the list of desired endpoints and returns lists of slices to create, update,
    // and delete.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. 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)
  9. pkg/controlplane/reconcilers/lease.go

    	kruntime "k8s.io/apimachinery/pkg/runtime"
    	apirequest "k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/registry/rest"
    	"k8s.io/apiserver/pkg/storage"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    	storagefactory "k8s.io/apiserver/pkg/storage/storagebackend/factory"
    	endpointsv1 "k8s.io/kubernetes/pkg/api/v1/endpoints"
    )
    
    // Leases is an interface which assists in managing the set of active masters
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Endpoints.pb

    SataQiu <******@****.***> 1702613527 +0800
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 728 bytes
    - Viewed (0)
Back to top