network

package
v0.0.0-...-b325cef Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetConfig

type NetConfig struct {
	// contains filtered or unexported fields
}

NetConfig holds the network namespace name of the container

func CreateConnectivity

func CreateConnectivity() (NetConfig, error)

CreateConnectivity creates isolated network connectivity for the container

func (*NetConfig) Cleanup

func (c *NetConfig) Cleanup()

Cleanup deletes the created network namespace, and updates subnets file

Jump to

Keyboard shortcuts

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