Versions in this module Expand all Collapse all v0 v0.23.0 Apr 21, 2016 Changes in this version + func AddNamespaceRangesUser(name string) (int, int, error) + func CreateIDMappings(username, groupname string) ([]IDMap, []IDMap, error) + func GetRootUIDGID(uidMap, gidMap []IDMap) (int, int, error) + func MkdirAllAs(path string, mode os.FileMode, ownerUID, ownerGID int) error + func MkdirAllNewAs(path string, mode os.FileMode, ownerUID, ownerGID int) error + func MkdirAs(path string, mode os.FileMode, ownerUID, ownerGID int) error + func ToContainer(hostID int, idMap []IDMap) (int, error) + func ToHost(contID int, idMap []IDMap) (int, error) + type IDMap struct + ContainerID int + HostID int + Size int