Documentation ¶
Index ¶
- func Connect(docker *client.Docker, net types.NetworkResource, ...) error
- func Create(docker *client.Docker, name string) (types.NetworkCreateResponse, error)
- func Exists(docker *client.Docker, name string) (types.NetworkResource, bool, error)
- func List(docker *client.Docker, all bool) ([]types.NetworkResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
func Connect(docker *client.Docker, net types.NetworkResource, container types.ContainerJSONBase) error
Connect connects a container to a network
func Create ¶
Create creates a docker Network with the given name returns: NetworkCreateResponse, error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.