Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for vol0 (0.04 sec)

  1. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    	inodesTotal = int64(2000)
    	inodesFree  = int64(1000)
    
    	vol0          = "vol0"
    	vol1          = "vol1"
    	vol2          = "vol2"
    	vol3          = "vol3"
    	pvcClaimName0 = "pvc-fake0"
    	pvcClaimName1 = "pvc-fake1"
    )
    
    var (
    	ErrorWatchTimeout = errors.New("watch event timeout")
    	// Create pod spec to test against
    	podVolumes = []k8sv1.Volume{
    		{
    			Name: vol0,
    			VolumeSource: k8sv1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/node_expander_test.go

    		assumeResizeOpAsFinished bool
    		expectError              bool
    	}{
    		{
    			name: "pv.spec.cap > pvc.status.cap, resizeStatus=node_expansion_failed",
    			pvc:  getTestPVC("test-vol0", "2G", "1G", "", &nodeResizeFailed),
    			pv:   getTestPV("test-vol0", "2G"),
    
    			expectedResizeStatus:     nodeResizeFailed,
    			expectResizeCall:         false,
    			assumeResizeOpAsFinished: true,
    			expectedStatusSize:       resource.MustParse("1G"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_generator_test.go

    			pvc:  getTestPVC("test-vol0", "2G", "2G", "2G", nil),
    			pv:   getTestPV("test-vol0", "2G"),
    
    			expectedResizeStatus: "",
    			resizeCallCount:      0,
    			expectedStatusSize:   resource.MustParse("2G"),
    		},
    		{
    			name:        "pv.spec.cap = pvc.status.cap, resizeStatus='', desiredSize > actualSize",
    			pvc:         getTestPVC("test-vol0", "2G", "2G", "2G", nil),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_attacher_test.go

    			name: "attach and detach",
    			attachedSpecs: []attachedSpec{
    				{"vol0", volume.NewSpecFromPersistentVolume(makeTestPV("pv0", 10, testDriver, "vol0"), false), true},
    				{"vol1", volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol1"), false), true},
    				{"vol2", volume.NewSpecFromPersistentVolume(makeTestPV("pv2", 10, testDriver, "vol2"), false), 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)
  5. pkg/volume/util/nested_volumes_test.go

    								{MountPath: "/ignore2", Name: "vol5"},
    								{MountPath: "/dir", Name: "vol1"},
    								{MountPath: "/dir/nested-vol", Name: "vol6"},
    								{MountPath: "/dir/nested.vol", Name: "vol7"},
    								{MountPath: "/dir/nested2/double", Name: "vol8"},
    								{MountPath: "/dir/nested2", Name: "vol3"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Multiple vol1 mounts Pod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. 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)
  7. pkg/kubelet/volumemanager/volume_manager_test.go

    							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)
  8. 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)
  9. 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)
  10. 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)
Back to top