servicemanager

package
v0.1.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(config *ControllerConfig, store entitystore.EntityStore, brokerClient clients.BrokerClient) controller.Controller

NewController creates a new service manager controller

Types

type ControllerConfig

type ControllerConfig struct {
	ResyncPeriod      time.Duration
	ZookeeperLocation string
}

ControllerConfig defines the image manager controller configuration

type Handlers

type Handlers struct {
	Store   entitystore.EntityStore
	Watcher controller.Watcher
}

Handlers encapsulates the service manager handlers

func NewHandlers

func NewHandlers(watcher controller.Watcher, store entitystore.EntityStore) *Handlers

NewHandlers is the constructor for the Handlers type

func (*Handlers) ConfigureHandlers

func (h *Handlers) ConfigureHandlers(api middleware.RoutableAPI)

ConfigureHandlers registers the service manager handlers to the API

Directories

Path Synopsis
gen
restapi
Package restapi Service Manager VMware Dispatch Service Manager
Package restapi Service Manager VMware Dispatch Service Manager
Package mocks generated by mockery v1.0.0
Package mocks generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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