- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestSetGetLocalAddresses (0.56 sec)
-
pkg/proxy/ipvs/testing/fake_test.go
import ( "testing" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/kubernetes/pkg/proxy/ipvs" ) // (I am unsure if this test has any value since it only tests the fake implementation) func TestSetGetLocalAddresses(t *testing.T) { fake := NewFakeNetlinkHandle(false) _ = ipvs.NetLinkHandle(fake) // Ensure that the interface is honored fake.SetLocalAddresses("eth0", "1.2.3.4") var expected, addr sets.Set[string]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 2K bytes - Viewed (0)