eventmanager

package
v0.1.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

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
Package restapi Event Manager VMware Dispatch Event Manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL