Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildConvincingPod (0.15 sec)

  1. cni/pkg/nodeagent/server_test.go

    	assert.NoError(t, err)
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    func TestMeshDataplaneSyncHostIPSetsIgnoresPodIPAddErrorAndContinues(t *testing.T) {
    	pod1 := buildConvincingPod(false)
    	pod2 := buildConvincingPod(false)
    
    	pod2.ObjectMeta.SetUID("4455")
    
    	fakeClientSet := fake.NewClientset()
    
    	fakeCtx := context.Background()
    	server := &fakeServer{}
    	server.Start(fakeCtx)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net_test.go

    		netServer:            netServer,
    		podNsMap:             podNsMap,
    		ztunnelServer:        ztunnelServer,
    		iptablesConfigurator: iptablesConfigurator,
    		nlDeps:               nlDeps,
    	}
    }
    
    func buildConvincingPod(v6IP bool) *corev1.Pod {
    	app1 := corev1.Container{
    		Name: "app1",
    		Ports: []corev1.ContainerPort{
    			{
    				Name:          "foo-port",
    				ContainerPort: 8010,
    			},
    			{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 25 16:13:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top