Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventController ¶
func NewEventController(manager subscriptions.Manager, backend drivers.Backend, store entitystore.EntityStore, config EventControllerConfig) controller.Controller
NewEventController creates a new controller to manage the reconciliation of event manager entities
Types ¶
type EventControllerConfig ¶
type EventControllerConfig struct { ResyncPeriod time.Duration WorkerNumber int ZookeeperLocation string Driver zookeeper.Driver }
EventControllerConfig defines configuration for controller
type Handlers ¶
type Handlers struct { Store entitystore.EntityStore Transport events.Transport Watcher controller.Watcher SecretsClient client.SecretsClient // contains filtered or unexported fields }
Handlers is a base struct for event 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 Event Manager VMware Dispatch Event Manager Schemes: http https Host: localhost BasePath: /v1/event Version: 1.0.0 Contact: <dispatch@vmware.com> Consumes: - application/json Produces: - application/json swagger:meta
|
Package restapi Event Manager VMware Dispatch Event Manager Schemes: http https Host: localhost BasePath: /v1/event 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.