Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for vol7 (0.05 sec)

  1. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    		{ // pod is scheduled
    			testName:          "Scheduled pod",
    			volName:           "vol1",
    			podName:           "pod1",
    			podNodeName:       "mynode-1",
    			pvName:            "pv1",
    			vaName:            "va1",
    			vaNodeName:        "mynode-1",
    			vaAttachStatus:    false,
    			expected_attaches: map[string][]string{"mynode-1": {"vol1"}},
    			expected_detaches: map[string][]string{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. 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)
  3. src/path/filepath/path_windows_test.go

    	if enabled {
    		expected = fmt.Sprintf(expected, "enabled", vol)
    	} else {
    		expected = fmt.Sprintf(expected, "disabled", vol)
    	}
    	if !strings.Contains(string(out), expected) {
    		return fmt.Errorf("unexpected fsutil output: %q", string(out))
    	}
    	return nil
    }
    
    func setVolume8dot3Setting(vol string, enabled bool) error {
    	cmd := []string{"fsutil", "8dot3name", "set", vol}
    	if enabled {
    		cmd = append(cmd, "0")
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi.go

    	volumes := pod.Spec.Volumes
    	for i := range volumes {
    		vol := &volumes[i]
    		if id, ok := pl.filter.FilterVolume(vol); ok {
    			filteredVolumes.Insert(id)
    			continue
    		}
    
    		pvcName := ""
    		isEphemeral := false
    		switch {
    		case vol.PersistentVolumeClaim != nil:
    			pvcName = vol.PersistentVolumeClaim.ClaimName
    		case vol.Ephemeral != nil:
    			// Generic ephemeral inline volumes also use a PVC,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_client_test.go

    		err                      error
    	}{
    		{name: "test ok", volID: "vol-test", targetPath: testPath},
    		{name: "missing volID", targetPath: testPath, mustFail: true},
    		{name: "missing target path", volID: "vol-test", mustFail: true},
    		{name: "bad fs", volID: "vol-test", targetPath: testPath, fsType: "badfs", mustFail: true},
    		{name: "grpc error", volID: "vol-test", targetPath: testPath, mustFail: true, err: errors.New("grpc error")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. src/os/types_windows.go

    		LastWriteTime:  d.LastWriteTime,
    		FileSizeHigh:   d.FileSizeHigh,
    		FileSizeLow:    d.FileSizeLow,
    		vol:            d.VolumeSerialNumber,
    		idxhi:          d.FileIndexHigh,
    		idxlo:          d.FileIndexLow,
    		ReparseTag:     reparseTag,
    		// fileStat.path is used by os.SameFile to decide if it needs
    		// to fetch vol, idxhi and idxlo. But these are already set,
    		// so set fileStat.path to "" to prevent os.SameFile doing it again.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. pkg/volume/hostpath/host_path_test.go

    	plug, err := plugMgr.FindPluginByName(hostPathPluginName)
    	if err != nil {
    		t.Fatal("Can't find the plugin by name")
    	}
    
    	volPath := "/tmp/vol1"
    	spec := &v1.Volume{
    		Name:         "vol1",
    		VolumeSource: v1.VolumeSource{HostPath: &v1.HostPathVolumeSource{Path: volPath, Type: newHostPathType(string(v1.HostPathDirectoryOrCreate))}},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  8. cmd/storage-rest-client.go

    		storageRESTVolume: volume,
    	}))
    	if err != nil {
    		return vol, toStorageErr(err)
    	}
    	vol = *v
    	// Performs shallow copy, so we can reuse.
    	storageStatVolRPC.PutResponse(v)
    	return vol, nil
    }
    
    // DeleteVol - Deletes a volume over the network.
    func (client *storageRESTClient) DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error) {
    	return errInvalidArgument
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. pkg/api/persistentvolumeclaim/util_test.go

    func TestDataSourceFilter(t *testing.T) {
    	ns := "ns1"
    	volumeDataSource := makeDataSource(coreGroup, pvcKind, "my-vol")
    	volumeDataSourceRef := makeDataSourceRef(coreGroup, pvcKind, "my-vol", nil)
    	xnsVolumeDataSourceRef := makeDataSourceRef(coreGroup, pvcKind, "my-vol", &ns)
    
    	var tests = map[string]struct {
    		spec       core.PersistentVolumeClaimSpec
    		oldSpec    core.PersistentVolumeClaimSpec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. pkg/volume/util/subpath/subpath_linux_test.go

    			},
    		},
    		{
    			name: "subpath-mount-multiple-vols",
    			prepare: func(base string) ([]mount.MountPoint, error) {
    				path := filepath.Join(base, containerSubPathDirectoryName, testVol, "container1", "0")
    				path2 := filepath.Join(base, containerSubPathDirectoryName, "vol2", "container1", "1")
    				if err := os.MkdirAll(path, defaultPerm); err != nil {
    					return nil, err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
Back to top