handlers

package
v0.0.0-...-993a85b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAPI

type CAPI struct {
	Logger                           lager.Logger
	RoutesRepo                       routesRepoInterface
	RouteMappingsRepo                routeMappingsRepoInterface
	CAPIDiegoProcessAssociationsRepo capiDiegoProcessAssociationsRepoInterface
	VIPProvider                      vipProvider
}

func (*CAPI) BulkSync

func (*CAPI) DeleteRoute

func (c *CAPI) DeleteRoute(context context.Context, request *api.DeleteRouteRequest) (*api.DeleteRouteResponse, error)

func (*CAPI) Health

func (*CAPI) ListCapiDiegoProcessAssociations

TODO: probably remove or test these eventually, currently using for debugging

func (*CAPI) ListCfRouteMappings

TODO: probably remove or test these eventually, currently using for debugging

func (*CAPI) ListCfRoutes

TODO: probably remove or test these eventually, currently using for debugging

func (*CAPI) MapRoute

func (c *CAPI) MapRoute(context context.Context, request *api.MapRouteRequest) (*api.MapRouteResponse, error)

func (*CAPI) UnmapRoute

func (c *CAPI) UnmapRoute(context context.Context, request *api.UnmapRouteRequest) (*api.UnmapRouteResponse, error)

func (*CAPI) UpsertRoute

func (c *CAPI) UpsertRoute(context context.Context, request *api.UpsertRouteRequest) (*api.UpsertRouteResponse, error)

type VIPResolver

type VIPResolver struct {
	Logger     lager.Logger
	RoutesRepo routesRepoVIPResolverInterface
}

func (*VIPResolver) GetVIPByName

func (b *VIPResolver) GetVIPByName(ctx context.Context, request *api.GetVIPByNameRequest) (*api.GetVIPByNameResponse, error)

func (*VIPResolver) Health

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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