utils

package
v0.0.0-...-04bf105 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2014 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCgroupStats

func GetCgroupStats(id string) (m *cgroups.Stats, err error)

func GetContainerPID

func GetContainerPID(id string) (pid string, err error)

func GetIfAddr

func GetIfAddr(ifname string) net.Addr

func GetIfStats

func GetIfStats() (m map[string]interface{}, err error)

func NetNsSynchronize

func NetNsSynchronize(pid string, fn func() error) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL