Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialAt ¶
DialAt is like net.Dial but the connections is created inside the namespace passed as argument. The connection returned can be handled doesn't is goroutine safe and doesn't have the problems of golang with linux namespaces.
func DoAtNS ¶
DoAtNS execute a function inside an specific namespace goroutines spawned inside linnux namespace can escape the namespace, fn() should not spawn any goroutine inside https://www.weave.works/blog/linux-namespaces-golang-followup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.