Documentation ¶
Index ¶
- func ExecuteInNetNs(newNs, curNs netns.NsHandle, f func() error) error
- func GetCmdline(pid uint32) []byte
- func GetHostNetNs() (netns.NsHandle, error)
- func GetMountInfo(pid uint32) map[string]MountInfo
- func GetNetNs(pid uint32) (netns.NsHandle, error)
- func GetNsIps(ns netns.NsHandle) ([]netaddr.IP, error)
- func GetNsPid(pid uint32) uint32
- func GetSelfNetNs() (netns.NsHandle, error)
- func HostPath(p string) string
- func ListPids() ([]uint32, error)
- func Path(pid uint32, subpath ...string) string
- func ReadCgroup(pid uint32) (*cgroup.Cgroup, error)
- type FSStat
- type Fd
- type FdInfo
- type MountInfo
- type Sock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdline ¶
func GetHostNetNs ¶
func GetMountInfo ¶
func GetSelfNetNs ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.