Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for endpointInfos (0.68 sec)

  1. pkg/proxy/winkernel/proxier.go

    // String is part of proxy.Endpoint interface.
    func (info *endpointInfo) String() string {
    	return net.JoinHostPort(info.ip, strconv.Itoa(int(info.port)))
    }
    
    // IsLocal is part of proxy.Endpoint interface.
    func (info *endpointInfo) IsLocal() bool {
    	return info.isLocal
    }
    
    // IsReady returns true if an endpoint is ready and not terminating.
    func (info *endpointInfo) IsReady() bool {
    	return info.ready
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager_test.go

    	e1 := &endpointImpl{}
    	testManager.endpoints[resourceName1] = endpointInfo{e: e1, opts: nil}
    	testManager.genericDeviceUpdateCallback(resourceName1, resource1Devs)
    
    	resource2Devs := []pluginapi.Device{
    		{ID: "R2Device1", Health: pluginapi.Healthy},
    	}
    	resourceName2 := "other.domain2.org/resource2"
    	e2 := &endpointImpl{}
    	testManager.endpoints[resourceName2] = endpointInfo{e: e2, opts: nil}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier.go

    		}
    
    		// Generate the per-endpoint chains
    		for _, ep := range allLocallyReachableEndpoints {
    			epInfo, ok := ep.(*endpointInfo)
    			if !ok {
    				proxier.logger.Error(nil, "Failed to cast endpointInfo", "endpointInfo", ep)
    				continue
    			}
    
    			endpointChain := epInfo.chainName
    
    			// Handle traffic that loops back to the originator with SNAT.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier.go

    	return svcPort
    }
    
    // internal struct for endpoints information
    type endpointInfo struct {
    	*proxy.BaseEndpointInfo
    
    	ChainName utiliptables.Chain
    }
    
    // returns a new proxy.Endpoint which abstracts a endpointInfo
    func newEndpointInfo(baseInfo *proxy.BaseEndpointInfo, svcPortName *proxy.ServicePortName) proxy.Endpoint {
    	return &endpointInfo{
    		BaseEndpointInfo: baseInfo,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  5. pkg/proxy/endpointschangetracker_test.go

    		} else {
    			for i := range expected[x] {
    				newEp, ok := newMap[x][i].(*BaseEndpointInfo)
    				if !ok {
    					t.Fatalf("Failed to cast endpointInfo")
    				}
    				if !endpointEqual(newEp, expected[x][i]) {
    					t.Fatalf("expected new[%v][%d] to be %v, got %v"+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
Back to top