mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
18 lines
448 B
Go
18 lines
448 B
Go
package networkbackend
|
|
|
|
import "github.com/moby/moby/api/types/network"
|
|
|
|
// ConnectRequest represents the data to be used to connect a container to the
|
|
// network.
|
|
type ConnectRequest struct {
|
|
Container string
|
|
EndpointConfig *network.EndpointSettings `json:",omitempty"`
|
|
}
|
|
|
|
// DisconnectRequest represents the data to be used to disconnect a container
|
|
// from the network.
|
|
type DisconnectRequest struct {
|
|
Container string
|
|
Force bool
|
|
}
|