libnetwork

package
v0.0.0-...-03ffbd0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddContainerIntoNetwork

func AddContainerIntoNetwork(networkName string, cInfo *info.Info) error

func ListNetwork

func ListNetwork() ([]*network.Network, error)

func NewNetwork

func NewNetwork(name string, subnet net.IPNet) (*network.Network, error)

func RemoveContainerFromNetwork

func RemoveContainerFromNetwork(cInfo *info.Info) error

func RemoveNetwork

func RemoveNetwork(name string) error

Types

type CreateNetworkConflict

type CreateNetworkConflict struct {
	ExistName   string
	ExistSubnet string
}

func (CreateNetworkConflict) Error

func (e CreateNetworkConflict) Error() string

Directories

Path Synopsis
internal
nat

Jump to

Keyboard shortcuts

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