Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct { StateDir string ChildPID int // NetworkDriver can be nil NetworkDriver NetworkDriver // PortDriver MUST be thread-safe. // PortDriver can be nil PortDriver PortDriver }
func (*Backend) DeletePort ¶
func (b *Backend) DeletePort(w http.ResponseWriter, r *http.Request)
DeletePort is the handler for POST /v{N}/ports/{id}
type NetworkDriver ¶
type NetworkDriver interface {
Info(context.Context) (*api.NetworkDriverInfo, error)
}
NetworkDriver is implemented by network.ParentDriver
type PortDriver ¶
PortDriver is implemented by port.ParentDriver
Click to show internal directories.
Click to hide internal directories.