Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPodAndPodDesc (0.25 sec)

  1. pkg/kubelet/util/format/pod_test.go

    	}
    
    	for _, testCase := range testCases {
    		realPod := Pod(testCase.pod)
    		assert.Equalf(t, testCase.expectedValue, realPod, "Failed to test: %s", testCase.caseName)
    	}
    }
    
    func TestPodAndPodDesc(t *testing.T) {
    	testCases := []struct {
    		caseName      string
    		podName       string
    		podNamespace  string
    		podUID        types.UID
    		expectedValue string
    	}{
    		{"field_empty_case", "", "", "", "_()"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top