Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 405 for volumeName (0.24 sec)

  1. 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)
  2. pkg/api/persistentvolume/util_test.go

    							System:           "",
    							SecretRef:        nil,
    							SSLEnabled:       false,
    							ProtectionDomain: "",
    							StoragePool:      "",
    							StorageMode:      "",
    							VolumeName:       "",
    							FSType:           "",
    							ReadOnly:         false,
    						},
    					},
    				},
    			},
    			expected: []string{
    				`spec.scaleIO: deprecated in v1.16, non-functional in v1.22+`,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	expectedDesiredSizeMap map[string]*resource.Quantity,
    	dsw DesiredStateOfWorld) {
    	volumesToMount := dsw.GetVolumesToMount()
    	for volumeName, expectedDesiredSize := range expectedDesiredSizeMap {
    		if podExistsInVolume := dsw.VolumeExistsWithSpecName(
    			expectedPodName, volumeName); !podExistsInVolume {
    			t.Fatalf(
    				"DSW VolumeExistsWithSpecName returned incorrect value. Expected: <true> Actual: <%v>",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. pkg/volume/util/subpath/subpath_linux.go

    func New(mounter mount.Interface) Interface {
    	return &subpath{
    		mounter: mounter,
    	}
    }
    
    func (sp *subpath) CleanSubPaths(podDir string, volumeName string) error {
    	return doCleanSubPaths(sp.mounter, podDir, volumeName)
    }
    
    func (sp *subpath) SafeMakeDir(subdir string, base string, perm os.FileMode) error {
    	realBase, err := filepath.EvalSymlinks(base)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.yaml

                  storageClassName: storageClassNameValue
                  volumeAttributesClassName: volumeAttributesClassNameValue
                  volumeMode: volumeModeValue
                  volumeName: volumeNameValue
            fc:
              fsType: fsTypeValue
              lun: 2
              readOnly: true
              targetWWNs:
              - targetWWNsValue
              wwids:
              - wwidsValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/apps.v1beta1.StatefulSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 58.2K bytes
    - Viewed (0)
  7. test/fixedbugs/issue56990.go

    }
    
    type ConfigSpec struct {
    	Disks        []DiskSpec
    	StorageClass string
    }
    
    type DiskSpec struct {
    	Name         string
    	Size         string
    	StorageClass string
    	Annotations  map[string]string
    	VolumeName   string
    }
    
    // Config is the Schema for the configs API.
    type Config struct {
    	TypeMeta
    	ObjectMeta
    
    	Spec ConfigSpec
    }
    
    func findDiskSize(diskSpec *DiskSpec, configSpec *ConfigSpec) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 17:46:51 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/driver-call.go

    	// Path to the device attached. This field is valid only for attach calls.
    	// ie: /dev/sdx
    	DevicePath string `json:"device,omitempty"`
    	// Cluster wide unique name of the volume.
    	VolumeName string `json:"volumeName,omitempty"`
    	// Represents volume is attached on the node
    	Attached bool `json:"attached,omitempty"`
    	// Returns capabilities of the driver.
    	// By default we assume all the capabilities are supported.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 25 02:39:55 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  9. pkg/volume/volume.go

    }
    
    // Detacher can detach a volume from a node.
    type Detacher interface {
    	DeviceUnmounter
    	// Detach the given volume from the node with the given Name.
    	// volumeName is name of the volume as returned from plugin's
    	// GetVolumeName().
    	Detach(volumeName string, nodeName types.NodeName) error
    }
    
    // DeviceUnmounter can unmount a block volume from the global path.
    type DeviceUnmounter interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. pkg/volume/portworx/portworx.go

    	return newSize, nil
    }
    
    func (plugin *portworxVolumePlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) {
    	portworxVolume := &v1.Volume{
    		Name: volumeName,
    		VolumeSource: v1.VolumeSource{
    			PortworxVolume: &v1.PortworxVolumeSource{
    				VolumeID: volumeName,
    			},
    		},
    	}
    	return volume.ReconstructedVolume{
    		Spec: volume.NewSpecFromVolume(portworxVolume),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top