Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Netns ¶
type Netns struct {
// contains filtered or unexported fields
}
func (*Netns) Run ¶
Run any long running function in the userns. We need to ensure that during setup/cleanup we are locked to avoid races. However because the given function could be running a long time we must unlock in between, i.e. this is used by podman unshare --rootless-nets and we do not want to keep it locked for the lifetime of the given command.
Click to show internal directories.
Click to hide internal directories.