Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for CountFlags (0.17 sec)

  1. pkg/volume/csi/fake/fake_client.go

    		VolumeContext:   req.GetVolumeContext(),
    	}
    	if req.GetVolumeCapability().GetMount() != nil {
    		publishedVolume.FSType = req.GetVolumeCapability().GetMount().FsType
    		publishedVolume.MountFlags = req.GetVolumeCapability().GetMount().MountFlags
    		publishedVolume.VolumeMountGroup = req.GetVolumeCapability().GetMount().VolumeMountGroup
    	}
    	f.nodePublishedVolumes[req.GetVolumeId()] = publishedVolume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 16K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_client.go

    			Block: &csipbv1.VolumeCapability_BlockVolume{},
    		}
    	} else {
    		mountVolume := &csipbv1.VolumeCapability_MountVolume{
    			FsType:     fsType,
    			MountFlags: mountOptions,
    		}
    		if fsGroup != nil {
    			mountVolume.VolumeMountGroup = strconv.FormatInt(*fsGroup, 10 /* base */)
    		}
    		req.VolumeCapability.AccessType = &csipbv1.VolumeCapability_Mount{
    			Mount: mountVolume,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 20 10:15:36 UTC 2022
    - 22.1K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_mounter_test.go

    			if vol.Path != csiMounter.GetPath() {
    				t.Errorf("csi server expected path %s, got %s", csiMounter.GetPath(), vol.Path)
    			}
    			if !reflect.DeepEqual(vol.MountFlags, expectedMountOptions) {
    				t.Errorf("csi server expected mount options %v, got %v", expectedMountOptions, vol.MountFlags)
    			}
    			if !reflect.DeepEqual(vol.VolumeContext, test.expectedVolumeContext) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_client_test.go

    			Block: &csipbv1.VolumeCapability_BlockVolume{},
    		}
    	} else {
    		mountVolume := &csipbv1.VolumeCapability_MountVolume{
    			FsType:     fsType,
    			MountFlags: mountOptions,
    		}
    		if fsGroup != nil {
    			mountVolume.VolumeMountGroup = strconv.FormatInt(*fsGroup, 10 /* base */)
    		}
    		req.VolumeCapability.AccessType = &csipbv1.VolumeCapability_Mount{
    			Mount: mountVolume,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. pkg/volume/util/subpath/subpath_linux.go

    	// Do the bind mount
    	options := []string{"bind"}
    	mountFlags := []string{"--no-canonicalize"}
    	klog.V(5).Infof("bind mounting %q at %q", mountSource, bindPathTarget)
    	if err = mounter.MountSensitiveWithoutSystemdWithMountFlags(mountSource, bindPathTarget, "" /*fstype*/, options, nil /* sensitiveOptions */, mountFlags); err != nil {
    		return "", fmt.Errorf("error mounting %s: %s", subpath.Path, err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_attacher_test.go

    					t.Errorf("expected mount path: %s. got: %s", tc.deviceMountPath, vol.Path)
    				}
    				if !reflect.DeepEqual(vol.MountFlags, tc.spec.PersistentVolume.Spec.MountOptions) {
    					t.Errorf("expected mount options: %v, got: %v", tc.spec.PersistentVolume.Spec.MountOptions, vol.MountFlags)
    				}
    				if vol.VolumeMountGroup != tc.expectedVolumeMountGroup {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
Back to top