Documentation
¶
Index ¶
- type EndpointsController
- func (c EndpointsController) Create(w http.ResponseWriter, r *http.Request, p map[string]string) error
- func (c EndpointsController) Destroy(w http.ResponseWriter, r *http.Request, p map[string]string) error
- func (c EndpointsController) List(w http.ResponseWriter, r *http.Request, p map[string]string) error
- type NetworksController
- func (c NetworksController) Connect(w http.ResponseWriter, r *http.Request, params map[string]string) error
- func (c NetworksController) Create(w http.ResponseWriter, r *http.Request, p map[string]string) error
- func (c NetworksController) Destroy(w http.ResponseWriter, r *http.Request, p map[string]string) error
- func (c NetworksController) List(w http.ResponseWriter, r *http.Request, params map[string]string) error
- func (c NetworksController) Show(w http.ResponseWriter, r *http.Request, params map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointsController ¶
type EndpointsController struct { Config *config.Config EndpointRepository endpoint.Repository NetworkRepository network.Repository IPAllocator ipallocator.IPAllocator }
func NewEndpointsController ¶
func NewEndpointsController(c *config.Config, n network.Repository, e endpoint.Repository, a ipallocator.IPAllocator) EndpointsController
func (EndpointsController) Create ¶
func (c EndpointsController) Create(w http.ResponseWriter, r *http.Request, p map[string]string) error
func (EndpointsController) Destroy ¶
func (c EndpointsController) Destroy(w http.ResponseWriter, r *http.Request, p map[string]string) error
func (EndpointsController) List ¶
func (c EndpointsController) List(w http.ResponseWriter, r *http.Request, p map[string]string) error
type NetworksController ¶
type NetworksController struct { Config *config.Config EndpointRepository endpoint.Repository NetworkRepository network.Repository IPAllocator ipallocator.IPAllocator }
func NewNetworksController ¶
func NewNetworksController(c *config.Config, n network.Repository, e endpoint.Repository, a ipallocator.IPAllocator) NetworksController
func (NetworksController) Connect ¶
func (c NetworksController) Connect(w http.ResponseWriter, r *http.Request, params map[string]string) error
func (NetworksController) Create ¶
func (c NetworksController) Create(w http.ResponseWriter, r *http.Request, p map[string]string) error
func (NetworksController) Destroy ¶
func (c NetworksController) Destroy(w http.ResponseWriter, r *http.Request, p map[string]string) error
func (NetworksController) List ¶
func (c NetworksController) List(w http.ResponseWriter, r *http.Request, params map[string]string) error
func (NetworksController) Show ¶
func (c NetworksController) Show(w http.ResponseWriter, r *http.Request, params map[string]string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.