Documentation ¶
Index ¶
- func Connect(opts NetworkConnect) error
- func Create(opts CreateOptions) (types.Network, error)
- func DefaultNetworkDriver() string
- func Disconnect(networkName string, containerID string) error
- func Inspect(id string) (string, error)
- func List() ([][]string, error)
- func Prune() error
- func Remove(name string) error
- type CreateOptions
- type NetworkConnect
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶ added in v0.6.0
func Connect(opts NetworkConnect) error
Connect connects a container to a network.
func DefaultNetworkDriver ¶
func DefaultNetworkDriver() string
DefaultNetworkDriver returns default network driver name.
func Disconnect ¶ added in v0.6.0
Disconnect disconnects a container from a network.
Types ¶
Click to show internal directories.
Click to hide internal directories.