Documentation
¶
Index ¶
- Variables
- func CopyFileFromProcessToBundle(bundle string, pid int, path string) error
- func GetOwnHealthPort() uint16
- func GetOwnPort() uint16
- func IsUsingHostNetwork(pid int) (bool, error)
- func ReadCgroupPath(pid int) (string, error)
- func ReadNamespaces(pid int) ([]specs.LinuxNamespace, error)
- func RootCommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd
Constants ¶
This section is empty.
Variables ¶
View Source
var SidecarImagePath = getSidecarImagePath()
Functions ¶
func GetOwnHealthPort ¶
func GetOwnHealthPort() uint16
func GetOwnPort ¶
func GetOwnPort() uint16
func IsUsingHostNetwork ¶
IsUsingHostNetwork determines weather the given process has the same network as the init process.
func ReadCgroupPath ¶
func ReadNamespaces ¶
func ReadNamespaces(pid int) ([]specs.LinuxNamespace, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.