Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ClearEntriesWithIP (0.09 sec)

  1. cni/pkg/nodeagent/server_test.go

    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    
    	fakeIPSetDeps.On("clearEntriesWithIP",
    		"foo-v4",
    		netip.MustParseAddr("3.3.3.3"),
    	).Return(nil)
    
    	fakeIPSetDeps.On("clearEntriesWithIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    	).Return(nil)
    
    	err := removePodFromHostNSIpset(pod, &set)
    	assert.NoError(t, err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top