Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetContainerSpec (0.12 sec)

  1. pkg/kubelet/container/helpers_test.go

    		}
    		if e, a := tc.expectedMountPath, tc.container.VolumeMounts[0].MountPath; !reflect.DeepEqual(e, a) {
    			t.Errorf("%v: unexpected mountpath; expected %v, got %v", tc.name, e, a)
    		}
    	}
    
    }
    
    func TestGetContainerSpec(t *testing.T) {
    	for _, tc := range []struct {
    		name          string
    		havePod       *v1.Pod
    		haveName      string
    		wantContainer *v1.Container
    	}{
    		{
    			name: "regular container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top