Documentation ¶
Index ¶
- func Connect(networkName string, cinfo *container.ContainerInfo) error
- func CreateNetwork(driver, subnet, name string) error
- func DeleteNetwork(networkName string) error
- func Disconnect(networkName string, cinfo *container.ContainerInfo) error
- func Init() error
- func ListNetwork()
- type BridgeNetworkDriver
- func (d *BridgeNetworkDriver) Connect(network *Network, endpoint *Endpoint) error
- func (d *BridgeNetworkDriver) Create(subnet string, name string) (*Network, error)
- func (d *BridgeNetworkDriver) Delete(network Network) error
- func (d *BridgeNetworkDriver) Disconnect(network Network, endpoint *Endpoint) error
- func (d *BridgeNetworkDriver) Name() string
- type Endpoint
- type IPAM
- type Network
- type NetworkDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNetwork ¶
func DeleteNetwork ¶
func Disconnect ¶
func Disconnect(networkName string, cinfo *container.ContainerInfo) error
func ListNetwork ¶
func ListNetwork()
Types ¶
type BridgeNetworkDriver ¶
type BridgeNetworkDriver struct { }
func (*BridgeNetworkDriver) Connect ¶
func (d *BridgeNetworkDriver) Connect(network *Network, endpoint *Endpoint) error
func (*BridgeNetworkDriver) Create ¶
func (d *BridgeNetworkDriver) Create(subnet string, name string) (*Network, error)
func (*BridgeNetworkDriver) Delete ¶
func (d *BridgeNetworkDriver) Delete(network Network) error
func (*BridgeNetworkDriver) Disconnect ¶
func (d *BridgeNetworkDriver) Disconnect(network Network, endpoint *Endpoint) error
func (*BridgeNetworkDriver) Name ¶
func (d *BridgeNetworkDriver) Name() string
Click to show internal directories.
Click to hide internal directories.