Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for vol02 (0.18 sec)

  1. pkg/volume/csi/csi_attacher_test.go

    			driverName: "driver02",
    			volumeName: "vol02",
    			attachID:   getAttachmentName("vol02", "driver02", "node02"),
    			spec:       volume.NewSpecFromPersistentVolume(makeTestPV("pv01", 10, "driver02", "vol02"), false),
    		},
    		{
    			name:         "mismatch vol",
    			nodeName:     "node02",
    			driverName:   "driver02",
    			volumeName:   "vol01",
    			attachID:     getAttachmentName("vol02", "driver02", "node02"),
    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/kubelet/volumemanager/volume_manager_test.go

    							MountPath: "/vol1",
    						},
    						{
    							Name:      "vol2",
    							MountPath: "/vol2",
    						},
    						{
    							Name:      "vol02",
    							MountPath: "/vol02",
    						},
    						{
    							Name:      "vol3",
    							MountPath: "/vol3",
    						},
    						{
    							Name:      "vol03",
    							MountPath: "/vol03",
    						},
    					},
    				},
    			},
    			Volumes: []v1.Volume{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/volume/util/nested_volumes_test.go

    				},
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							VolumeMounts: []v1.VolumeMount{
    								{MountPath: "/dir", Name: "vol1"},
    								{MountPath: "/dir/nested", Name: "vol2"},
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:     "Unsorted Nested Pod",
    			err:      false,
    			expected: sets.New[string]("nested", "nested2", "nested-vol", "nested.vol"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. pkg/volume/util/util_test.go

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

    			mode:   storage.VolumeLifecyclePersistent,
    			spec: func(fsType string, options []string) *volume.Spec {
    				return volume.NewSpecFromPersistentVolume(makeTestPV("pv1", 20, testDriver, "vol2"), false)
    			},
    		},
    		{
    			name:                 "setup with missing spec",
    			newMounterShouldFail: true,
    			spec:                 func(fsType string, options []string) *volume.Spec { return nil },
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_plugin_test.go

    		shouldFail bool
    	}{
    		{
    			name:      "valid spec name",
    			specVolID: "test.vol.id",
    			data:      map[string]string{volDataKey.specVolID: "test.vol.id", volDataKey.volHandle: "test-vol0", volDataKey.driverName: "test-driver0"},
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Logf("test case: %s", tc.name)
    		deviceDataDir := getVolumeDeviceDataDir(tc.specVolID, plug.host)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    	}
    	vols2, v2err := ValidateVolumes(volumes, nil, field.NewPath("field"), PodValidationOptions{})
    	if len(v2err) > 0 {
    		t.Errorf("Invalid test volume - expected success %v", v2err)
    		return
    	}
    	for i, test := range tests {
    		errs := ValidateVolumeMounts([]core.VolumeMount{test.mount}, nil, vols2, test.container, field.NewPath("field"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top