package router
import "github.com/rootless-containers/rootlesskit/pkg/api/router"
Index ¶
Functions ¶
func AddRoutes ¶
Types ¶
type Backend ¶
type Backend struct { // PortDriver MUST be thread-safe. // PortDriver can be nil PortDriver port.ParentDriver }
func (*Backend) DeletePort ¶
func (b *Backend) DeletePort(w http.ResponseWriter, r *http.Request)
DeletePort is the handler for POST /v{N}/ports/{id}
func (*Backend) GetPorts ¶
func (b *Backend) GetPorts(w http.ResponseWriter, r *http.Request)
GetPorts is handler for GET /v{N}/ports
func (*Backend) PostPort ¶
func (b *Backend) PostPort(w http.ResponseWriter, r *http.Request)
PostPort is the handler for POST /v{N}/ports
Source Files ¶
- Version
- v0.4.1
- Published
- May 14, 2019
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- now –
Tools for package owners.