Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewSpecFromVolume (0.37 sec)

  1. pkg/volume/csi/csi_attacher_test.go

    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromVolume(makeTestVol("pv1", testDriver)), false},
    				{"vol2", volume.NewSpecFromPersistentVolume(makeTestPV("pv2", 10, testDriver, "vol2"), false), true},
    				{"vol3", volume.NewSpecFromVolume(makeTestVol("pv3", testDriver)), false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_mounter_test.go

    			fsType:          "ext4",
    			setupShouldFail: true,
    			spec: func(fsType string, options []string) *volume.Spec {
    				volSrc := makeTestVol("pv1", testDriver)
    				volSrc.CSI.FSType = &fsType
    				return volume.NewSpecFromVolume(volSrc)
    			},
    		},
    		{
    			name:   "setup with persistent source",
    			podUID: types.UID(fmt.Sprintf("%08X", rand.Uint64())),
    			mode:   storage.VolumeLifecyclePersistent,
    			fsType: "zfs",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top