Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(config *ControllerConfig, store entitystore.EntityStore, gw gateway.Gateway) controller.Controller
NewController creates a new controller
Types ¶
type API ¶
type API struct { entitystore.BaseEntity API gateway.API `db:"api"` }
API is a data struct used to store api information into entity store
type ControllerConfig ¶
ControllerConfig defines configuration for controller
type Handlers ¶
type Handlers struct { Store entitystore.EntityStore // contains filtered or unexported fields }
Handlers define a set of handlers for API Manager
func NewHandlers ¶
func NewHandlers(watcher controller.Watcher, store entitystore.EntityStore) *Handlers
NewHandlers create a new API Manager Handler
func (*Handlers) ConfigureHandlers ¶
func (h *Handlers) ConfigureHandlers(routableAPI middleware.RoutableAPI)
ConfigureHandlers configure handlers for API Manager
Directories ¶
Path | Synopsis |
---|---|
gen
|
|
restapi
Package restapi API Manager VMware Dispatch - API Manager APIs Schemes: http https Host: localhost BasePath: /v1/api Version: 1.0.0 Contact: <dispatch@vmware.com> Consumes: - application/json Produces: - application/json swagger:meta
|
Package restapi API Manager VMware Dispatch - API Manager APIs Schemes: http https Host: localhost BasePath: /v1/api Version: 1.0.0 Contact: <dispatch@vmware.com> Consumes: - application/json Produces: - application/json swagger:meta |
Click to show internal directories.
Click to hide internal directories.