Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEndpointRequest ¶
type CreateEndpointRequest struct { NetworkID string EndpointID string Interface *EndpointInterface Options map[string]interface{} }
type CreateNetworkRequest ¶
type DeleteEndpointRequest ¶
type DeleteNetworkRequest ¶
type DeleteNetworkRequest struct {
NetworkID string
}
type Driver ¶
type Driver interface { CreateNetwork(*CreateNetworkRequest) error DeleteNetwork(*DeleteNetworkRequest) error CreateEndpoint(*CreateEndpointRequest) error DeleteEndpoint(*DeleteEndpointRequest) error EndpointInfo(*InfoRequest) (*InfoResponse, error) Join(*JoinRequest) (*JoinResponse, error) Leave(*LeaveRequest) error }
Driver represent the interface a driver must fulfill.
type EndpointInterface ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler forwards requests and responses between the docker daemon and the plugin.
func NewHandler ¶
NewHandler initializes the request handler with a driver implementation.
type InfoRequest ¶
type InfoResponse ¶
type InterfaceName ¶
type JoinRequest ¶
type JoinResponse ¶
type JoinResponse struct { Gateway string InterfaceName InterfaceName StaticRoutes []*StaticRoute }
type LeaveRequest ¶
type StaticRoute ¶
Click to show internal directories.
Click to hide internal directories.