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, urlparams 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
- type VersionController
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, urlparams 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
type VersionController ¶ added in v0.5.4
func NewVersionController ¶ added in v0.5.4
func NewVersionController(c *config.Config) VersionController
func (VersionController) Show ¶ added in v0.5.4
func (c VersionController) Show(w http.ResponseWriter, r *http.Request, params map[string]string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.