Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPodRedirectionEnabled (0.19 sec)

  1. cni/pkg/util/podutil_test.go

    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 0)
    }
    
    func TestPodRedirectionEnabled(t *testing.T) {
    	var (
    		ambientEnabledLabel     = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top