Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SupportsMountOption (0.25 sec)

  1. pkg/volume/testing/testing.go

    }
    
    func (f *FakeBasicVolumePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) {
    	return f.Plugin.SupportsSELinuxContextMount(spec)
    }
    
    func (f *FakeBasicVolumePlugin) SupportsMountOption() bool {
    	return f.Plugin.SupportsMountOption()
    }
    
    var _ volume.VolumePlugin = &FakeBasicVolumePlugin{}
    
    // FakeDeviceMountableVolumePlugin implements an device mountable plugin based on FakeBasicVolumePlugin.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller.go

    		Parameters:                    storageClass.Parameters,
    	}
    
    	// Refuse to provision if the plugin doesn't support mount options, creation
    	// of PV would be rejected by validation anyway
    	if !plugin.SupportsMountOption() && len(options.MountOptions) > 0 {
    		strerr := fmt.Sprintf("Mount options are not supported by the provisioner but StorageClass %q has mount options %v", storageClass.Name, options.MountOptions)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
Back to top