Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 114 for ifLocal (0.12 sec)

  1. pkg/proxy/util/localdetector_test.go

    		if !localDetector.IsImplemented() {
    			t.Error("DetectLocalByCIDR returns false for IsImplemented")
    		}
    
    		ifLocal := localDetector.IfLocal()
    		ifNotLocal := localDetector.IfNotLocal()
    
    		if !reflect.DeepEqual(ifLocal, c.expectedIfLocalOutput) {
    			t.Errorf("IfLocal, expected: '%v', but got: '%v'", c.expectedIfLocalOutput, ifLocal)
    		}
    
    		if !reflect.DeepEqual(ifNotLocal, c.expectedIfNotLocalOutput) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. pkg/proxy/util/localdetector.go

    	// from a local pod.
    	IfNotLocalNFT() []string
    }
    
    type detectLocal struct {
    	ifLocal       []string
    	ifNotLocal    []string
    	ifLocalNFT    []string
    	ifNotLocalNFT []string
    }
    
    func (d *detectLocal) IsImplemented() bool {
    	return len(d.ifLocal) > 0
    }
    
    func (d *detectLocal) IfLocal() []string {
    	return d.ifLocal
    }
    
    func (d *detectLocal) IfNotLocal() []string {
    	return d.ifNotLocal
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    					natRules.Write(
    						"-A", string(externalTrafficChain),
    						"-m", "comment", "--comment", fmt.Sprintf(`"pod traffic for %s external destinations"`, svcPortNameString),
    						proxier.localDetector.IfLocal(),
    						"-j", string(clusterPolicyChain))
    				}
    
    				// Locally originated traffic (not a pod, but the host node)
    				// still needs masquerade because the LBIP itself is a local
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. releasenotes/notes/focal-debian10.yaml

    John Howard <******@****.***> 1622678314 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 02 23:58:34 UTC 2021
    - 399 bytes
    - Viewed (0)
  5. cmd/endpoint_test.go

    			Endpoint{URL: case4URLs[1], IsLocal: case4LocalFlags[1]},
    			Endpoint{URL: case4URLs[2], IsLocal: case4LocalFlags[2]},
    			Endpoint{URL: case4URLs[3], IsLocal: case4LocalFlags[3]},
    		}, DistErasureSetupType, nil},
    
    		{":9000", []string{case5Endpoint1, case5Endpoint2, case5Endpoint3, case5Endpoint4}, ":9000", Endpoints{
    			Endpoint{URL: case5URLs[0], IsLocal: case5LocalFlags[0]},
    			Endpoint{URL: case5URLs[1], IsLocal: case5LocalFlags[1]},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. pkg/proxy/endpoint.go

    	return info.ip
    }
    
    // Port returns just the Port part of the endpoint.
    func (info *BaseEndpointInfo) Port() int {
    	return info.port
    }
    
    // IsLocal is part of proxy.Endpoint interface.
    func (info *BaseEndpointInfo) IsLocal() bool {
    	return info.isLocal
    }
    
    // IsReady returns true if an endpoint is ready and not terminating.
    func (info *BaseEndpointInfo) IsReady() bool {
    	return info.ready
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:38:25 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. pkg/proxy/endpointslicecache_test.go

    					&BaseEndpointInfo{ip: "10.0.1.4", port: 80, endpoint: "10.0.1.4:80", isLocal: false, ready: true, serving: true, terminating: false},
    					&BaseEndpointInfo{ip: "10.0.1.5", port: 80, endpoint: "10.0.1.5:80", isLocal: false, ready: true, serving: true, terminating: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. pkg/proxy/endpointschangetracker_test.go

    					&BaseEndpointInfo{ip: "10.0.1.5", port: 80, endpoint: "10.0.1.5:80", isLocal: true, ready: true, serving: true, terminating: false},
    					&BaseEndpointInfo{ip: "10.0.2.1", port: 80, endpoint: "10.0.2.1:80", isLocal: false, ready: true, serving: true, terminating: false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 79.9K bytes
    - Viewed (0)
  9. pkg/proxy/topology_test.go

    			&BaseEndpointInfo{endpoint: "10.0.0.1:80", zoneHints: sets.New[string]("zone-b"), ready: true, isLocal: true},
    			&BaseEndpointInfo{endpoint: "10.0.0.2:80", zoneHints: sets.New[string]("zone-a"), ready: true, isLocal: false},
    			&BaseEndpointInfo{endpoint: "10.0.0.3:80", zoneHints: sets.New[string]("zone-b"), ready: true, isLocal: false},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneAnnotationsResolver.kt

            val visitor = declarationRecursiveVisitor visit@{
                val isLocal = when (it) {
                    is KtClassOrObject -> it.isLocal
                    is KtFunction -> it.isLocal
                    is KtProperty -> it.isLocal
                    else -> return@visit
                }
    
                if (!isLocal) {
                    result += it
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top