Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 405 for volumeName (0.18 sec)

  1. staging/src/k8s.io/api/testdata/HEAD/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: Tue Oct 31 03:26:35 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. pkg/volume/configmap/configmap_test.go

    		}
    	}
    
    	doTestConfigMapDataInVolume(volumePath, configMap, t)
    	doTestCleanAndTeardown(plugin, testPodUID, testVolumeName, volumePath, t)
    }
    
    func volumeSpec(volumeName, configMapName string, defaultMode int32) *v1.Volume {
    	return &v1.Volume{
    		Name: volumeName,
    		VolumeSource: v1.VolumeSource{
    			ConfigMap: &v1.ConfigMapVolumeSource{
    				LocalObjectReference: v1.LocalObjectReference{
    					Name: configMapName,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  4. pkg/volume/local/local.go

    				return volume.ReconstructedVolume{}, err
    			}
    			klog.V(4).Infof("local: reconstructing volume %q (pod volume mount: %q) with device %q", volumeName, mountPath, path)
    			break
    		}
    	}
    	localVolume := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: volumeName,
    		},
    		Spec: v1.PersistentVolumeSpec{
    			PersistentVolumeSource: v1.PersistentVolumeSource{
    				Local: &v1.LocalVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. src/path/filepath/path.go

    func Dir(path string) string {
    	return filepathlite.Dir(path)
    }
    
    // VolumeName returns leading volume name.
    // Given "C:\foo\bar" it returns "C:" on Windows.
    // Given "\\host\share\foo" it returns "\\host\share".
    // On other platforms it returns "".
    func VolumeName(path string) string {
    	return filepathlite.VolumeName(path)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. pkg/volume/util/subpath/subpath_unsupported.go

    }
    
    func (sp *subpath) PrepareSafeSubpath(subPath Subpath) (newHostPath string, cleanupAction func(), err error) {
    	return subPath.Path, nil, errUnsupported
    }
    
    func (sp *subpath) CleanSubPaths(podDir string, volumeName string) error {
    	return errUnsupported
    }
    
    func (sp *subpath) SafeMakeDir(pathname string, base string, perm os.FileMode) error {
    	return errUnsupported
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. pkg/volume/flexvolume/plugin_test.go

    	)
    	plugin.Init(plugin.host)
    }
    
    func fakeVolumeNameOutput(name string) testingexec.FakeAction {
    	return fakeResultOutput(&DriverStatus{
    		Status:     StatusSuccess,
    		VolumeName: name,
    	})
    }
    
    func TestGetVolumeName(tt *testing.T) {
    	t := harness.For(tt)
    	defer t.Close()
    
    	spec := fakeVolumeSpec()
    	plugin, _ := testPlugin(t)
    	plugin.runner = fakeRunner(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 21 06:54:44 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  8. pkg/volume/noop_expandable_plugin.go

    	return nil, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) NewUnmounter(name string, podUID types.UID) (Unmounter, error) {
    	return nil, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) ConstructVolumeSpec(volumeName, mountPath string) (ReconstructedVolume, error) {
    	return ReconstructedVolume{Spec: n.spec}, nil
    }
    
    func (n *noopExpandableVolumePluginInstance) SupportsMountOption() bool {
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/web/url.go

    		return nil, errNotAbsolute
    	}
    
    	// If path has a Windows volume name, convert the volume to a host and prefix
    	// per https://blogs.msdn.microsoft.com/ie/2006/12/06/file-uris-in-windows/.
    	if vol := filepath.VolumeName(path); vol != "" {
    		if strings.HasPrefix(vol, `\\`) {
    			path = filepath.ToSlash(path[2:])
    			i := strings.IndexByte(path, '/')
    
    			if i < 0 {
    				// A degenerate case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/volumebinding/binder.go

    	if fullyBound {
    		logger.V(5).Info("PVC is fully bound to PV", "PVC", klog.KObj(pvc), "PV", klog.KRef("", pvc.Spec.VolumeName))
    	} else {
    		if pvc.Spec.VolumeName != "" {
    			logger.V(5).Info("PVC is not fully bound to PV", "PVC", klog.KObj(pvc), "PV", klog.KRef("", pvc.Spec.VolumeName))
    		} else {
    			logger.V(5).Info("PVC is not bound", "PVC", klog.KObj(pvc))
    		}
    	}
    	return fullyBound, pvc, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 14:55:34 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top