Documentation
¶
Index ¶
- func GetNS(name string) (ns.NetNS, error)
- func NewNS(name string) (ns.NetNS, error)
- func Remove(ctx context.Context, id, name, namespace string) (err error)
- func Setup(ctx context.Context, id, name, namespace string) (ip []string, err error)
- func SupportedCNI() bool
- func UnmountNS(ns ns.NetNS) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNS ¶
NewNS creates a new persistent (bind-mounted) network namespace and returns an object representing that namespace, without switching to it.
func SupportedCNI ¶
func SupportedCNI() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.