Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for safeOpenSubPath (0.21 sec)

  1. pkg/volume/util/subpath/subpath_linux.go

    	// when container stops by CleanSubPaths.
    	cleanupAction = nil
    	return newHostPath, cleanupAction, err
    }
    
    // This implementation is shared between Linux and NsEnter
    func safeOpenSubPath(mounter mount.Interface, subpath Subpath) (int, error) {
    	if !mount.PathWithinBase(subpath.Path, subpath.VolumePath) {
    		return -1, fmt.Errorf("subpath %q not within volume path %q", subpath.Path, subpath.VolumePath)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top