Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for vol7 (0.21 sec)

  1. pkg/volume/util/util_test.go

    								{
    									Name: "vol4",
    								},
    							},
    						},
    					},
    					Volumes: []v1.Volume{
    						{
    							Name: "vol1",
    						},
    						{
    							Name: "vol2",
    						},
    						{
    							Name: "vol3",
    						},
    						{
    							Name: "vol4",
    						},
    					},
    				},
    			},
    			expectedMounts:  sets.New[string]("vol1", "vol3"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_volumes_test.go

    			{
    				Name: "container1",
    				VolumeMounts: []v1.VolumeMount{
    					{
    						Name:      "vol1",
    						MountPath: "/mnt/vol1",
    					},
    					{
    						Name:      "vol2",
    						MountPath: "/mnt/vol2",
    					},
    				},
    			},
    		},
    		Volumes: []v1.Volume{
    			{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/volume_manager_test.go

    						{
    							Name:      volumetest.FailMountDeviceVolumeName,
    							MountPath: "/vol1",
    						},
    						{
    							Name:      "vol2",
    							MountPath: "/vol2",
    						},
    						{
    							Name:      "vol02",
    							MountPath: "/vol02",
    						},
    						{
    							Name:      "vol3",
    							MountPath: "/vol3",
    						},
    						{
    							Name:      "vol03",
    							MountPath: "/vol03",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. pkg/volume/git_repo/git_repo_test.go

    		},
    		{
    			name: "invalid-repository",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: "--foo",
    					},
    				},
    			},
    			isExpectedFailure: true,
    		},
    		{
    			name: "invalid-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. pkg/volume/portworx/portworx_util.go

    	vols, err = driver.Inspect([]string{spec.Name()})
    	if err != nil {
    		return err
    	}
    
    	if len(vols) != 1 {
    		return fmt.Errorf("failed to inspect resized Portworx volume: %s. Found: %d volumes", spec.Name(), len(vols))
    	}
    
    	updatedVol := vols[0]
    	if updatedVol.Spec.Size < vol.Spec.Size {
    		return fmt.Errorf("Portworx volume: %s doesn't match expected size after resize. expected:%v actual:%v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  6. pkg/volume/fc/fc_test.go

    		VolumeSource: v1.VolumeSource{
    			FC: &v1.FCVolumeSource{
    				FSType: "ext4",
    			},
    		},
    	}
    	doTestPluginNilMounter(t, volume.NewSpecFromVolume(vol))
    }
    
    func TestPluginPersistentVolumeNoDiskInfo(t *testing.T) {
    	fs := v1.PersistentVolumeFilesystem
    	vol := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "vol1",
    		},
    		Spec: v1.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_test.go

    		findPluginShouldFail bool
    		driverSpec           *storage.CSIDriverSpec
    		watchTimeout         time.Duration
    	}{
    		{
    			name:     "PersistentVolume",
    			specName: "pv2",
    			driver:   "simple-driver",
    			volName:  "vol2",
    			specFunc: func(specName, driver, volName string) *volume.Spec {
    				return volume.NewSpecFromPersistentVolume(makeTestPV(specName, 20, driver, volName), false)
    			},
    			podFunc: func() *api.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  8. pkg/volume/csi/csi_plugin_test.go

    			driverName: "testdr",
    			volName:    "test-vol-name",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "testdr", "test-vol-name"), false),
    		},
    		{
    			name:       "mixchars all",
    			driverName: "test-driver",
    			volName:    "test.vol.name",
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("test-pv", 10, "test-driver", "test.vol.name"), false),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/controlplane/volumes_test.go

    			if _, ok := mounts.volumes["component"][volumeName]; !ok {
    				t.Errorf("Expected to find volume %q", volumeName)
    			}
    			vol := mounts.volumes["component"][volumeName]
    			if vol.Name != volumeName {
    				t.Errorf("Expected volume name %q", volumeName)
    			}
    			if vol.HostPath.Path != hostMount.HostPath {
    				t.Errorf("Expected host path %q", hostMount.HostPath)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:33:18 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi_test.go

    	}
    }
    
    func TestPluginVolume(t *testing.T) {
    	vol := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			ISCSI: &v1.ISCSIVolumeSource{
    				TargetPortal: "127.0.0.1:3260",
    				IQN:          "iqn.2014-12.server:storage.target01",
    				FSType:       "ext4",
    				Lun:          0,
    			},
    		},
    	}
    	doTestPlugin(t, volume.NewSpecFromVolume(vol))
    }
    
    func TestPluginPersistentVolume(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
Back to top