Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getFakeDPWithIPSet (0.53 sec)

  1. cni/pkg/nodeagent/server_test.go

    		fakeCtx,
    		pod,
    		podIPs,
    		"",
    	).Return(nil)
    
    	server.Start(fakeCtx)
    
    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    
    	m := getFakeDPWithIPSet(server, fakeClientSet, set)
    	expectPodAddedToIPSet(fakeIPSetDeps, podIP, pod.ObjectMeta)
    
    	err := m.AddPodToMesh(fakeCtx, pod, podIPs, "")
    	assert.NoError(t, err)
    
    	fakeIPSetDeps.AssertExpectations(t)
    
    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