Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetVolumeMountMap (0.27 sec)

  1. pkg/apis/core/validation/validation.go

    	} else {
    		for _, msg := range validation.IsConfigMapKey(s.Key) {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("key"), s.Key, msg))
    		}
    	}
    
    	return allErrs
    }
    
    func GetVolumeMountMap(mounts []core.VolumeMount) map[string]string {
    	volmounts := make(map[string]string)
    
    	for _, mnt := range mounts {
    		volmounts[mnt.Name] = mnt.MountPath
    	}
    
    	return volmounts
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top