Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 405 for volumeName (0.15 sec)

  1. pkg/volume/nfs/nfs.go

    }
    
    func (plugin *nfsPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) {
    	nfsVolume := &v1.Volume{
    		Name: volumeName,
    		VolumeSource: v1.VolumeSource{
    			NFS: &v1.NFSVolumeSource{
    				Path: volumeName,
    			},
    		},
    	}
    	return volume.ReconstructedVolume{
    		Spec: volume.NewSpecFromVolume(nfsVolume),
    	}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/os/path_windows_test.go

    	const prefix = `\\?\`
    	vol := filepath.VolumeName(t.TempDir()) + `\`
    	if len(vol) < 4 || vol[:4] != prefix {
    		vol = prefix + vol
    	}
    	testMkdirAllAtRoot(t, vol)
    }
    
    func TestMkdirAllVolumeNameAtRoot(t *testing.T) {
    	if testenv.Builder() == "" {
    		t.Skipf("skipping non-hermetic test outside of Go builders")
    	}
    
    	vol, err := syscall.UTF16PtrFromString(filepath.VolumeName(t.TempDir()) + `\`)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:37:32 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolumeClaim.yaml

          - valuesValue
        matchLabels:
          matchLabelsKey: matchLabelsValue
      storageClassName: storageClassNameValue
      volumeAttributesClassName: volumeAttributesClassNameValue
      volumeMode: volumeModeValue
      volumeName: volumeNameValue
    status:
      accessModes:
      - accessModesValue
      allocatedResourceStatuses:
        allocatedResourceStatusesKey: allocatedResourceStatusesValue
      allocatedResources:
        allocatedResourcesKey: "0"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    			Spec: v1.PersistentVolumeClaimSpec{
    				VolumeName:       "some" + filterName + "Vol",
    				StorageClassName: &filterName,
    			},
    		},
    		{
    			ObjectMeta: metav1.ObjectMeta{Name: "someNon" + filterName + "Vol"},
    			Spec: v1.PersistentVolumeClaimSpec{
    				VolumeName:       "someNon" + filterName + "Vol",
    				StorageClassName: &filterName,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  5. src/path/filepath/path_windows_test.go

    	const (
    		cmdfile             = `printdir.cmd`
    		perm    fs.FileMode = 0700
    	)
    
    	tmp := t.TempDir()
    	for i, d := range tt.result {
    		if d == "" {
    			continue
    		}
    		if cd := filepath.Clean(d); filepath.VolumeName(cd) != "" ||
    			cd[0] == '\\' || cd == ".." || (len(cd) >= 3 && cd[0:3] == `..\`) {
    			t.Errorf("%d,%d: %#q refers outside working directory", ti, i, d)
    			return
    		}
    		dd := filepath.Join(tmp, d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. src/cmd/go/go_windows_test.go

    	err = os.WriteFile(file, []byte{}, 0644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	dir := filepath.Join(tmp, "dir")
    	err = os.Mkdir(dir, 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	noVolume := file[len(filepath.VolumeName(file)):]
    	wrongPath := filepath.Join(dir, noVolume)
    	cmd := testenv.Command(t, tg.goTool(), "build", noVolume)
    	cmd.Dir = dir
    	output, err := cmd.CombinedOutput()
    	if err == nil {
    		t.Fatal("build should fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:26 UTC 2022
    - 1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.PersistentVolumeClaim.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolumeClaim.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/vendor_gopath_issue11409.txt

    stdout 'hello, world'
    
    -- 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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 982 bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_attacher.go

    	}
    
    	// volumeName in format driverName<SEP>volumeHandle generated by plugin.GetVolumeName()
    	parts := strings.Split(volumeName, volNameSep)
    	if len(parts) != 2 {
    		klog.Error(log("detacher.Detach insufficient info encoded in volumeName"))
    		return errors.New("volumeName missing expected data")
    	}
    
    	driverName := parts[0]
    	volID = parts[1]
    	attachID = getAttachmentName(volID, driverName, string(nodeName))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 07:38:14 UTC 2023
    - 25.9K bytes
    - Viewed (0)
Back to top