fakes

package
v0.0.0-...-2fc2a81 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: Apache-2.0, BSD-2-Clause-Views, BSD-3-Clause, + 1 more Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRegistry

type FakeRegistry struct {
	RegisterStub func(uri route.Uri, endpoint *route.Endpoint)

	UnregisterStub func(uri route.Uri, endpoint *route.Endpoint)

	LookupStub func(uri route.Uri) *route.Pool

	LookupWithInstanceStub func(uri route.Uri, appID, appIndex string) *route.Pool

	StartPruningCycleStub func()

	StopPruningCycleStub func()

	NumUrisStub func() int

	NumEndpointsStub func() int

	MarshalJSONStub func() ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeRegistry) Invocations

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

func (*FakeRegistry) Lookup

func (fake *FakeRegistry) Lookup(uri route.Uri) *route.Pool

func (*FakeRegistry) LookupArgsForCall

func (fake *FakeRegistry) LookupArgsForCall(i int) route.Uri

func (*FakeRegistry) LookupCallCount

func (fake *FakeRegistry) LookupCallCount() int

func (*FakeRegistry) LookupReturns

func (fake *FakeRegistry) LookupReturns(result1 *route.Pool)

func (*FakeRegistry) LookupReturnsOnCall

func (fake *FakeRegistry) LookupReturnsOnCall(i int, result1 *route.Pool)

func (*FakeRegistry) LookupWithInstance

func (fake *FakeRegistry) LookupWithInstance(uri route.Uri, appID string, appIndex string) *route.Pool

func (*FakeRegistry) LookupWithInstanceArgsForCall

func (fake *FakeRegistry) LookupWithInstanceArgsForCall(i int) (route.Uri, string, string)

func (*FakeRegistry) LookupWithInstanceCallCount

func (fake *FakeRegistry) LookupWithInstanceCallCount() int

func (*FakeRegistry) LookupWithInstanceReturns

func (fake *FakeRegistry) LookupWithInstanceReturns(result1 *route.Pool)

func (*FakeRegistry) LookupWithInstanceReturnsOnCall

func (fake *FakeRegistry) LookupWithInstanceReturnsOnCall(i int, result1 *route.Pool)

func (*FakeRegistry) MarshalJSON

func (fake *FakeRegistry) MarshalJSON() ([]byte, error)

func (*FakeRegistry) MarshalJSONCallCount

func (fake *FakeRegistry) MarshalJSONCallCount() int

func (*FakeRegistry) MarshalJSONReturns

func (fake *FakeRegistry) MarshalJSONReturns(result1 []byte, result2 error)

func (*FakeRegistry) MarshalJSONReturnsOnCall

func (fake *FakeRegistry) MarshalJSONReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeRegistry) NumEndpoints

func (fake *FakeRegistry) NumEndpoints() int

func (*FakeRegistry) NumEndpointsCallCount

func (fake *FakeRegistry) NumEndpointsCallCount() int

func (*FakeRegistry) NumEndpointsReturns

func (fake *FakeRegistry) NumEndpointsReturns(result1 int)

func (*FakeRegistry) NumEndpointsReturnsOnCall

func (fake *FakeRegistry) NumEndpointsReturnsOnCall(i int, result1 int)

func (*FakeRegistry) NumUris

func (fake *FakeRegistry) NumUris() int

func (*FakeRegistry) NumUrisCallCount

func (fake *FakeRegistry) NumUrisCallCount() int

func (*FakeRegistry) NumUrisReturns

func (fake *FakeRegistry) NumUrisReturns(result1 int)

func (*FakeRegistry) NumUrisReturnsOnCall

func (fake *FakeRegistry) NumUrisReturnsOnCall(i int, result1 int)

func (*FakeRegistry) Register

func (fake *FakeRegistry) Register(uri route.Uri, endpoint *route.Endpoint)

func (*FakeRegistry) RegisterArgsForCall

func (fake *FakeRegistry) RegisterArgsForCall(i int) (route.Uri, *route.Endpoint)

func (*FakeRegistry) RegisterCallCount

func (fake *FakeRegistry) RegisterCallCount() int

func (*FakeRegistry) StartPruningCycle

func (fake *FakeRegistry) StartPruningCycle()

func (*FakeRegistry) StartPruningCycleCallCount

func (fake *FakeRegistry) StartPruningCycleCallCount() int

func (*FakeRegistry) StopPruningCycle

func (fake *FakeRegistry) StopPruningCycle()

func (*FakeRegistry) StopPruningCycleCallCount

func (fake *FakeRegistry) StopPruningCycleCallCount() int

func (*FakeRegistry) Unregister

func (fake *FakeRegistry) Unregister(uri route.Uri, endpoint *route.Endpoint)

func (*FakeRegistry) UnregisterArgsForCall

func (fake *FakeRegistry) UnregisterArgsForCall(i int) (route.Uri, *route.Endpoint)

func (*FakeRegistry) UnregisterCallCount

func (fake *FakeRegistry) UnregisterCallCount() int

Jump to

Keyboard shortcuts

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