Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 104 for vol6 (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/volume/portworx/portworx_test.go

    	plug, err := plugMgr.FindPluginByName("kubernetes.io/portworx-volume")
    	if err != nil {
    		t.Errorf("Can't find the plugin by name")
    	}
    	spec := &v1.Volume{
    		Name: "vol1",
    		VolumeSource: v1.VolumeSource{
    			PortworxVolume: &v1.PortworxVolumeSource{
    				VolumeID: PortworxTestVolume,
    				FSType:   "ext4",
    			},
    		},
    	}
    	fakeManager := &fakePortworxManager{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 21 02:17:04 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/go/testdata/script/vendor_gopath_issue11409.txt

    -- run_go.go --
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    func changeVolume(s string, f func(s string) string) string {
    	vol := filepath.VolumeName(s)
    	return f(vol) + s[len(vol):]
    }
    
    func main() {
    	gopath := changeVolume(os.Args[1], strings.ToLower)
    	dir := changeVolume(os.Args[2], strings.ToUpper)
    	cmd := exec.Command("go", "run", "hello.go")
    	cmd.Dir = dir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 982 bytes
    - Viewed (0)
Back to top