Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for mountOptions (0.21 sec)

  1. pkg/volume/fc/disk_manager.go

    	options := []string{"bind"}
    	if b.readOnly {
    		options = append(options, "ro")
    	}
    	mountOptions := util.JoinMountOptions(options, b.mountOptions)
    	err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil)
    	if err != nil {
    		klog.Errorf("Failed to bind mount: source:%s, target:%s, err:%v", globalPDPath, volPath, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. pkg/volume/iscsi/disk_manager.go

    		b.iscsiDisk.Iface = b.iscsiDisk.Portals[0] + ":" + b.iscsiDisk.VolName
    	}
    	globalPDPath := manager.MakeGlobalPDName(*b.iscsiDisk)
    	mountOptions := util.JoinMountOptions(b.mountOptions, options)
    	err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil)
    	if err != nil {
    		klog.Errorf("Failed to bind mount: source:%s, target:%s, err:%v", globalPDPath, volPath, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_util_test.go

    	klog.InitFlags(flag.CommandLine)
    	os.Exit(m.Run())
    }
    
    func makeTestPVWithMountOptions(name string, sizeGig int, driverName, volID string, mountOptions []string) *api.PersistentVolume {
    	pv := makeTestPV(name, sizeGig, driverName, volID)
    	pv.Spec.MountOptions = mountOptions
    	return pv
    }
    
    func makeTestPV(name string, sizeGig int, driverName, volID string) *api.PersistentVolume {
    	return &api.PersistentVolume{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. pkg/volume/nfs/nfs.go

    	options := []string{}
    	if nfsMounter.readOnly {
    		options = append(options, "ro")
    	}
    	mountOptions := util.JoinMountOptions(nfsMounter.mountOptions, options)
    	err = nfsMounter.mounter.MountSensitiveWithoutSystemd(source, dir, "nfs", mountOptions, nil)
    	if err != nil {
    		notMnt, mntErr := mount.IsNotMountPoint(nfsMounter.mounter, dir)
    		if mntErr != 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)
  5. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1.StorageClass.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    mountOptions:
    - mountOptionsValue
    parameters:
      parametersKey: parametersValue
    provisioner: provisionerValue
    reclaimPolicy: reclaimPolicyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1.StorageClass.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    mountOptions:
    - mountOptionsValue
    parameters:
      parametersKey: parametersValue
    provisioner: provisionerValue
    reclaimPolicy: reclaimPolicyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. pkg/volume/validation/pv_validation_test.go

    			t.Errorf("Unexpected failure for scenario: %s - %+v", name, errs)
    		}
    	}
    }
    
    func testVolumeWithMountOption(name string, namespace string, mountOptions string, spec api.PersistentVolumeSpec) *api.PersistentVolume {
    	annotations := map[string]string{
    		api.MountOptionAnnotation: mountOptions,
    	}
    	objMeta := metav1.ObjectMeta{
    		Name:        name,
    		Annotations: annotations,
    	}
    
    	if namespace != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. pkg/volume/fc/attacher.go

    	}
    	if notMnt {
    		diskMounter := &mount.SafeFormatAndMount{Interface: mounter, Exec: attacher.host.GetExec(fcPluginName)}
    		mountOptions := volumeutil.MountOptionFromSpec(spec, options...)
    		err = diskMounter.FormatAndMount(devicePath, deviceMountPath, volumeSource.FSType, mountOptions)
    		if err != nil {
    			os.Remove(deviceMountPath)
    			return err
    		}
    	}
    	return nil
    }
    
    type fcDetacher struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 31 12:02:51 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1beta1.StorageClass.yaml

        blockOwnerDeletion: true
        controller: true
        kind: kindValue
        name: nameValue
        uid: uidValue
      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    mountOptions:
    - mountOptionsValue
    parameters:
      parametersKey: parametersValue
    provisioner: provisionerValue
    reclaimPolicy: reclaimPolicyValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1beta1.StorageClass.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top