Versions in this module Expand all Collapse all v0 v0.1.0 Jul 8, 2015 Changes in this version + const CLONE_IO — linux/amd64 + const CLONE_NEWIPC — linux/amd64 + const CLONE_NEWNET — linux/amd64 + const CLONE_NEWPID — linux/amd64 + const CLONE_NEWUSER — linux/amd64 + const CLONE_NEWUTS — linux/amd64 + const SYS_SETNS — linux/amd64 + var ErrNotImplemented = errors.New("not implemented") — darwin/amd64, js/wasm, windows/amd64 + func Set(ns NsHandle) (err error) + func Setns(ns NsHandle, nstype int) (err error) — linux/amd64 + type NsHandle int + func Get() (NsHandle, error) + func GetFromDocker(id string) (NsHandle, error) + func GetFromName(name string) (NsHandle, error) + func GetFromPath(path string) (NsHandle, error) + func GetFromPid(pid int) (NsHandle, error) + func GetFromThread(pid, tid int) (NsHandle, error) + func New() (ns NsHandle, err error) + func None() NsHandle + func (ns *NsHandle) Close() error + func (ns NsHandle) Equal(other NsHandle) bool + func (ns NsHandle) IsOpen() bool + func (ns NsHandle) String() string