Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(config *ControllerConfig, store entitystore.EntityStore, faas functions.FaaSDriver, runner functions.Runner, imgClient ImageGetter, imageBuilder functions.ImageBuilder) controller.Controller
NewController is the constructor for the function manager controller
Types ¶
type ControllerConfig ¶
ControllerConfig is the function manager controller configuration
type FileImageManager ¶ added in v0.1.13
FileImageManager is an ImageManager which is backed by a static map of images
func FileImageManagerClient ¶ added in v0.1.13
func FileImageManagerClient(imageFilePath string) *FileImageManager
FileImageManagerClient returns a FileImageManager after populating the map with a JSON file
type Handlers ¶
type Handlers struct { Watcher controller.Watcher Store entitystore.EntityStore }
Handlers is the API handler for function manager
func NewHandlers ¶
func NewHandlers(watcher controller.Watcher, store entitystore.EntityStore) *Handlers
NewHandlers is the constructor for the function manager API handlers
func (*Handlers) ConfigureHandlers ¶
func (h *Handlers) ConfigureHandlers(api middleware.RoutableAPI)
ConfigureHandlers registers the function manager handlers to the API
Directories ¶
Path | Synopsis |
---|---|
gen
|
|
restapi
Package restapi Function Manager VMware Dispatch Function Manager Schemes: http https Host: localhost BasePath: /v1 Version: 1.0.0 Contact: <dispatch@vmware.com> Consumes: - application/json Produces: - application/json swagger:meta
|
Package restapi Function Manager VMware Dispatch Function Manager Schemes: http https Host: localhost BasePath: /v1 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.