Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllNetNs

func GetAllNetNs() ([]uint64, error)

func GetCmdline

func GetCmdline(pid string) (string, error)

func GetInode

func GetInode(file string) (uint64, error)

    GetInode returns Inode for file

    func GetNsHandleFromInode

    func GetNsHandleFromInode(inode string) (netns.NsHandle, error)

      GetNsHandleFromInode return namespace handler from inode

      func ResolvePodNsByInode

      func ResolvePodNsByInode(inode uint64) (string, error)

        ResolvePodNsByInode Traverse /proc/<pid>/<suffix> files, compare their inodes with inode parameter and returns file if inode matches

        Types

        This section is empty.

        Source Files