Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for contain (0.13 sec)

  1. cni/pkg/nodeagent/net_test.go

    		iptablesConfigurator: iptablesConfigurator,
    		nlDeps:               nlDeps,
    		ipsetDeps:            fakeIPSetDeps,
    	}
    }
    
    func buildConvincingPod(v6IP bool) *corev1.Pod {
    	app1 := corev1.Container{
    		Name: "app1",
    		Ports: []corev1.ContainerPort{
    			{
    				Name:          "foo-port",
    				ContainerPort: 8010,
    			},
    			{
    				Name:          "foo-2-port",
    				ContainerPort: 8020,
    			},
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  2. cmd/net_test.go

    			t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err)
    		}
    
    		if testCase.expectedIPList != nil {
    			var found bool
    			for _, ip := range ipList.ToSlice() {
    				if testCase.expectedIPList.Contains(ip) {
    					found = true
    				}
    			}
    			if !found {
    				t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList)
    			}
    		}
    	}
    }
    
    // Tests finalize api endpoints.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top