fakes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: Apache-2.0 Imports: 2 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 FakeRouteTable

type FakeRouteTable struct {
	UpsertBackendServerKeyStub func(key routingtable.RoutingKey, info routingtable.BackendServerInfo) bool

	DeleteBackendServerKeyStub func(key routingtable.RoutingKey, info routingtable.BackendServerInfo) bool

	NumberOfRoutesStub func() int

	NumberOfBackendsStub func(key routingtable.RoutingKey) int
	// contains filtered or unexported fields
}

func (*FakeRouteTable) DeleteBackendServerKey

func (fake *FakeRouteTable) DeleteBackendServerKey(key routingtable.RoutingKey, info routingtable.BackendServerInfo) bool

func (*FakeRouteTable) DeleteBackendServerKeyArgsForCall

func (fake *FakeRouteTable) DeleteBackendServerKeyArgsForCall(i int) (routingtable.RoutingKey, routingtable.BackendServerInfo)

func (*FakeRouteTable) DeleteBackendServerKeyCallCount

func (fake *FakeRouteTable) DeleteBackendServerKeyCallCount() int

func (*FakeRouteTable) DeleteBackendServerKeyReturns

func (fake *FakeRouteTable) DeleteBackendServerKeyReturns(result1 bool)

func (*FakeRouteTable) DeleteBackendServerKeyReturnsOnCall

func (fake *FakeRouteTable) DeleteBackendServerKeyReturnsOnCall(i int, result1 bool)

func (*FakeRouteTable) Invocations

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

func (*FakeRouteTable) NumberOfBackends

func (fake *FakeRouteTable) NumberOfBackends(key routingtable.RoutingKey) int

func (*FakeRouteTable) NumberOfBackendsArgsForCall

func (fake *FakeRouteTable) NumberOfBackendsArgsForCall(i int) routingtable.RoutingKey

func (*FakeRouteTable) NumberOfBackendsCallCount

func (fake *FakeRouteTable) NumberOfBackendsCallCount() int

func (*FakeRouteTable) NumberOfBackendsReturns

func (fake *FakeRouteTable) NumberOfBackendsReturns(result1 int)

func (*FakeRouteTable) NumberOfBackendsReturnsOnCall

func (fake *FakeRouteTable) NumberOfBackendsReturnsOnCall(i int, result1 int)

func (*FakeRouteTable) NumberOfRoutes

func (fake *FakeRouteTable) NumberOfRoutes() int

func (*FakeRouteTable) NumberOfRoutesCallCount

func (fake *FakeRouteTable) NumberOfRoutesCallCount() int

func (*FakeRouteTable) NumberOfRoutesReturns

func (fake *FakeRouteTable) NumberOfRoutesReturns(result1 int)

func (*FakeRouteTable) NumberOfRoutesReturnsOnCall

func (fake *FakeRouteTable) NumberOfRoutesReturnsOnCall(i int, result1 int)

func (*FakeRouteTable) UpsertBackendServerKey

func (fake *FakeRouteTable) UpsertBackendServerKey(key routingtable.RoutingKey, info routingtable.BackendServerInfo) bool

func (*FakeRouteTable) UpsertBackendServerKeyArgsForCall

func (fake *FakeRouteTable) UpsertBackendServerKeyArgsForCall(i int) (routingtable.RoutingKey, routingtable.BackendServerInfo)

func (*FakeRouteTable) UpsertBackendServerKeyCallCount

func (fake *FakeRouteTable) UpsertBackendServerKeyCallCount() int

func (*FakeRouteTable) UpsertBackendServerKeyReturns

func (fake *FakeRouteTable) UpsertBackendServerKeyReturns(result1 bool)

func (*FakeRouteTable) UpsertBackendServerKeyReturnsOnCall

func (fake *FakeRouteTable) UpsertBackendServerKeyReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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