Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_ValidatePodTemplate (0.34 sec)

  1. pkg/volume/plugins_test.go

    	}
    
    	volumeSpec := &Spec{}
    	_, err = vpm.FindPluginBySpec(volumeSpec)
    	if err != nil {
    		t.Errorf("Should return test plugin if volume spec is not nil")
    	}
    }
    
    func Test_ValidatePodTemplate(t *testing.T) {
    	pod := &v1.Pod{
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name:         "vol",
    					VolumeSource: v1.VolumeSource{},
    				},
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top