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) Info ¶ added in v0.59.0
func (n *Netns) Info() *types.RootlessNetnsInfo
IPAddresses returns the currently used ip addresses in the netns These should then not be assigned for the host.containers.internal entry.
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.