routefakes

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRouter

type FakeRouter struct {
	ConnectStub func(natsServers []cfconfig.MessageBusServer, logger lager.Logger)

	TCPStub func(routes []*route.TCP) error

	HTTPStub func(routes []*route.HTTP) error
	// contains filtered or unexported fields
}

func (*FakeRouter) Connect

func (fake *FakeRouter) Connect(natsServers []cfconfig.MessageBusServer, logger lager.Logger)

func (*FakeRouter) ConnectArgsForCall

func (fake *FakeRouter) ConnectArgsForCall(i int) ([]cfconfig.MessageBusServer, lager.Logger)

func (*FakeRouter) ConnectCallCount

func (fake *FakeRouter) ConnectCallCount() int

func (*FakeRouter) HTTP

func (fake *FakeRouter) HTTP(routes []*route.HTTP) error

func (*FakeRouter) HTTPArgsForCall

func (fake *FakeRouter) HTTPArgsForCall(i int) []*route.HTTP

func (*FakeRouter) HTTPCallCount

func (fake *FakeRouter) HTTPCallCount() int

func (*FakeRouter) HTTPReturns

func (fake *FakeRouter) HTTPReturns(result1 error)

func (*FakeRouter) HTTPReturnsOnCall

func (fake *FakeRouter) HTTPReturnsOnCall(i int, result1 error)

func (*FakeRouter) Invocations

func (fake *FakeRouter) Invocations() map[string][][]interface{}

func (*FakeRouter) TCP

func (fake *FakeRouter) TCP(routes []*route.TCP) error

func (*FakeRouter) TCPArgsForCall

func (fake *FakeRouter) TCPArgsForCall(i int) []*route.TCP

func (*FakeRouter) TCPCallCount

func (fake *FakeRouter) TCPCallCount() int

func (*FakeRouter) TCPReturns

func (fake *FakeRouter) TCPReturns(result1 error)

func (*FakeRouter) TCPReturnsOnCall

func (fake *FakeRouter) TCPReturnsOnCall(i int, result1 error)

type FakeSource

type FakeSource struct {
	TCPStub func() ([]*route.TCP, error)

	HTTPStub func() ([]*route.HTTP, error)
	// contains filtered or unexported fields
}

func (*FakeSource) HTTP

func (fake *FakeSource) HTTP() ([]*route.HTTP, error)

func (*FakeSource) HTTPCallCount

func (fake *FakeSource) HTTPCallCount() int

func (*FakeSource) HTTPReturns

func (fake *FakeSource) HTTPReturns(result1 []*route.HTTP, result2 error)

func (*FakeSource) HTTPReturnsOnCall

func (fake *FakeSource) HTTPReturnsOnCall(i int, result1 []*route.HTTP, result2 error)

func (*FakeSource) Invocations

func (fake *FakeSource) Invocations() map[string][][]interface{}

func (*FakeSource) TCP

func (fake *FakeSource) TCP() ([]*route.TCP, error)

func (*FakeSource) TCPCallCount

func (fake *FakeSource) TCPCallCount() int

func (*FakeSource) TCPReturns

func (fake *FakeSource) TCPReturns(result1 []*route.TCP, result2 error)

func (*FakeSource) TCPReturnsOnCall

func (fake *FakeSource) TCPReturnsOnCall(i int, result1 []*route.TCP, result2 error)

Jump to

Keyboard shortcuts

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