Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + func AddNamespaceRangesUser(name string) (int, int, error) + func CanAccess(path string, uid, gid int) bool + func CreateIDMappings(username, groupname string) ([]IDMap, []IDMap, error) + func GetRootUIDGID(uidMap, gidMap []IDMap) (int, int, error) + func LookupGID(gid int) (user.Group, error) — darwin/amd64, js/wasm, linux/amd64 + func LookupGroup(groupname string) (user.Group, error) — darwin/amd64, js/wasm, linux/amd64 + func LookupUID(uid int) (user.User, error) — darwin/amd64, js/wasm, linux/amd64 + func LookupUser(username string) (user.User, error) — darwin/amd64, js/wasm, linux/amd64 + 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