Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasReadWriteOnce (0.19 sec)

  1. pkg/volume/csi/csi_util.go

    func getVolumeDeviceDataDir(specVolID string, host volume.VolumeHost) string {
    	return filepath.Join(getVolumePluginDir(specVolID, host), "data")
    }
    
    // hasReadWriteOnce returns true if modes contains v1.ReadWriteOnce
    func hasReadWriteOnce(modes []api.PersistentVolumeAccessMode) bool {
    	if modes == nil {
    		return false
    	}
    	for _, mode := range modes {
    		if mode == api.ReadWriteOnce {
    			return true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 17:14:00 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top