Help us shape the future of Go! Take the 2026 Go Developer Survey

apimanager

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: 21 Imported by: 4

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

type ControllerConfig struct {
	ResyncPeriod      time.Duration
	ZookeeperLocation string
	Driver            zookeeper.Driver
}

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

Jump to

Keyboard shortcuts

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