- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ifNotLocal (0.1 sec)
-
pkg/proxy/util/localdetector_test.go
} 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) { t.Errorf("IfNotLocal, expected: '%v', but got: '%v'", c.expectedIfNotLocalOutput, ifNotLocal) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 15:34:37 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/proxy/util/localdetector.go
} 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 } func (d *detectLocal) IfLocalNFT() []string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 15:34:37 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/proxy/iptables/proxier.go
// bridge into the Service for you. Since that might bounce // off-node, we masquerade here. natRules.Write( "-A", string(internalTrafficChain), args, proxier.localDetector.IfNotLocal(), "-j", string(kubeMarkMasqChain)) } } // Set up external traffic handling (if any "external" destinations are // enabled). All captured traffic for all external destinations should
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 65.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
// for you. Since that might bounce off-node, we masquerade here. // If/when we support "Local" policy for VIPs, we should update this. proxier.natRules.Write( args, "dst,dst", proxier.localDetector.IfNotLocal(), "-j", string(kubeMarkMasqChain)) } else { // Masquerade all OUTPUT traffic coming from a service ip. // The kube dummy interface has all service VIPs assigned which
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0)