Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for vol6 (0.04 sec)

  1. cmd/xl-storage_test.go

    	if err = xlStorage.MakeVol(context.Background(), "success-vol"); err != nil {
    		t.Fatalf("Unable to create volume, %s", err)
    	}
    
    	// TestXLStorage failure cases.
    	vol := slashpath.Join(path, "nonempty-vol")
    	if err = os.Mkdir(vol, 0o777); err != nil {
    		t.Fatalf("Unable to create directory, %s", err)
    	}
    	if err = os.WriteFile(slashpath.Join(vol, "test-file"), []byte{}, os.ModePerm); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/storage-interface.go

    	// Volume operations.
    	MakeVol(ctx context.Context, volume string) (err error)
    	MakeVolBulk(ctx context.Context, volumes ...string) (err error)
    	ListVols(ctx context.Context) (vols []VolInfo, err error)
    	StatVol(ctx context.Context, volume string) (vol VolInfo, err error)
    	DeleteVol(ctx context.Context, volume string, forceDelete bool) (err error)
    
    	// WalkDir will walk a directory on disk and return a metacache stream on wr.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K 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/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/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    			},
    			verify: func(t *testing.T, vols []v1.UniqueVolumeName, volName v1.UniqueVolumeName) {
    				if len(vols) == 0 {
    					t.Fatalf("Request resize for volume, but volume in ASW hasn't been marked as fsResizeRequired")
    				}
    				if len(vols) != 1 {
    					t.Errorf("Some unexpected volumes are marked as fsResizeRequired: %v", vols)
    				}
    				if vols[0] != volName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  6. src/path/filepath/symlink.go

    			// Symlink to drive name is an absolute path.
    			if v < len(link) && os.IsPathSeparator(link[v]) {
    				v++
    			}
    			vol = link[:v]
    			dest = vol
    			end = len(vol)
    		} else if len(link) > 0 && os.IsPathSeparator(link[0]) {
    			// Symlink to absolute path.
    			dest = link[:1]
    			end = 1
    			vol = link[:1]
    			volLen = 1
    		} else {
    			// Symlink to relative path; replace last
    			// path component in dest.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/controller/volume/ephemeral/controller.go

    		return nil
    	}
    
    	for _, vol := range pod.Spec.Volumes {
    		if err := ec.handleVolume(ctx, pod, vol); err != nil {
    			ec.recorder.Event(pod, v1.EventTypeWarning, events.FailedBinding, fmt.Sprintf("ephemeral volume %s: %v", vol.Name, err))
    			return fmt.Errorf("pod %s, ephemeral volume %s: %v", key, vol.Name, err)
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/filepathlite/path.go

    	}
    	return path
    }
    
    // Dir is filepath.Dir.
    func Dir(path string) string {
    	vol := VolumeName(path)
    	i := len(path) - 1
    	for i >= len(vol) && !IsPathSeparator(path[i]) {
    		i--
    	}
    	dir := Clean(path[len(vol) : i+1])
    	if dir == "." && len(vol) > 2 {
    		// must be UNC
    		return vol
    	}
    	return vol + dir
    }
    
    // VolumeName is filepath.VolumeName.
    func VolumeName(path string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/volume_host.go

    }
    
    func (ctrl *PersistentVolumeController) NewWrapperMounter(volName string, spec vol.Spec, pod *v1.Pod, opts vol.VolumeOptions) (vol.Mounter, error) {
    	return nil, fmt.Errorf("PersistentVolumeController.NewWrapperMounter is not implemented")
    }
    
    func (ctrl *PersistentVolumeController) NewWrapperUnmounter(volName string, spec vol.Spec, podUID types.UID) (vol.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top