Back to godoc.org

Package emitter

v0.0.0-...-2d1c165
Latest Go to latest

The latest major version is .

Published: Jun 29, 2020 | License: Apache-2.0 | Module: code.cloudfoundry.org/route-emitter

Index

type NATSEmitter

type NATSEmitter interface {
	Emit(messagesToEmit routingtable.MessagesToEmit) error
}

go:generate counterfeiter -o fakes/fake_nats_emitter.go . NATSEmitter

func NewNATSEmitter

func NewNATSEmitter(natsClient diegonats.NATSClient, workPool *workpool.WorkPool, logger lager.Logger, metronClient loggingclient.IngressClient, emitInternalRoutes bool) NATSEmitter

type RoutingAPIEmitter

type RoutingAPIEmitter interface {
	Emit(routingEvents routingtable.TCPRouteMappings) error
}

go:generate counterfeiter -o fakes/fake_routing_api_emitter.go . RoutingAPIEmitter

func NewRoutingAPIEmitter

func NewRoutingAPIEmitter(logger lager.Logger, routingAPIClient routing_api.Client, uaaClient uaaclient.Client, routeTTL int) RoutingAPIEmitter

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier