fakeroutingtable

package
v0.0.0-...-53588b4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 4 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 FakeRoutingTable

type FakeRoutingTable struct {
	AddEndpointStub func(lager.Logger, *models.ActualLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	GetExternalRoutingEventsStub func() (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	GetInternalRoutingEventsStub func() (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	HTTPAssociationsCountStub func() int

	HasExternalRoutesStub func(*models.ActualLRP) bool

	InternalAssociationsCountStub func() int

	RemoveEndpointStub func(lager.Logger, *models.ActualLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	RemoveRoutesStub func(lager.Logger, *models.DesiredLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	SetRoutesStub func(lager.Logger, *models.DesiredLRP, *models.DesiredLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	SwapStub func(lager.Logger, routingtable.RoutingTable, models.DomainSet) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

	TCPAssociationsCountStub func() int

	TableSizeStub func() int
	// contains filtered or unexported fields
}

func (*FakeRoutingTable) AddEndpoint

func (fake *FakeRoutingTable) AddEndpoint(arg1 lager.Logger, arg2 *models.ActualLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

func (*FakeRoutingTable) AddEndpointArgsForCall

func (fake *FakeRoutingTable) AddEndpointArgsForCall(i int) (lager.Logger, *models.ActualLRP)

func (*FakeRoutingTable) AddEndpointCallCount

func (fake *FakeRoutingTable) AddEndpointCallCount() int

func (*FakeRoutingTable) AddEndpointCalls

func (fake *FakeRoutingTable) AddEndpointCalls(stub func(lager.Logger, *models.ActualLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit))

func (*FakeRoutingTable) AddEndpointReturns

func (fake *FakeRoutingTable) AddEndpointReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) AddEndpointReturnsOnCall

func (fake *FakeRoutingTable) AddEndpointReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) GetExternalRoutingEvents

func (fake *FakeRoutingTable) GetExternalRoutingEvents() (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

func (*FakeRoutingTable) GetExternalRoutingEventsCallCount

func (fake *FakeRoutingTable) GetExternalRoutingEventsCallCount() int

func (*FakeRoutingTable) GetExternalRoutingEventsCalls

func (fake *FakeRoutingTable) GetExternalRoutingEventsCalls(stub func() (routingtable.TCPRouteMappings, routingtable.MessagesToEmit))

func (*FakeRoutingTable) GetExternalRoutingEventsReturns

func (fake *FakeRoutingTable) GetExternalRoutingEventsReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) GetExternalRoutingEventsReturnsOnCall

func (fake *FakeRoutingTable) GetExternalRoutingEventsReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) GetInternalRoutingEvents

func (fake *FakeRoutingTable) GetInternalRoutingEvents() (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

func (*FakeRoutingTable) GetInternalRoutingEventsCallCount

func (fake *FakeRoutingTable) GetInternalRoutingEventsCallCount() int

func (*FakeRoutingTable) GetInternalRoutingEventsCalls

func (fake *FakeRoutingTable) GetInternalRoutingEventsCalls(stub func() (routingtable.TCPRouteMappings, routingtable.MessagesToEmit))

func (*FakeRoutingTable) GetInternalRoutingEventsReturns

func (fake *FakeRoutingTable) GetInternalRoutingEventsReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) GetInternalRoutingEventsReturnsOnCall

func (fake *FakeRoutingTable) GetInternalRoutingEventsReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) HTTPAssociationsCount

func (fake *FakeRoutingTable) HTTPAssociationsCount() int

func (*FakeRoutingTable) HTTPAssociationsCountCallCount

func (fake *FakeRoutingTable) HTTPAssociationsCountCallCount() int

func (*FakeRoutingTable) HTTPAssociationsCountCalls

func (fake *FakeRoutingTable) HTTPAssociationsCountCalls(stub func() int)

func (*FakeRoutingTable) HTTPAssociationsCountReturns

func (fake *FakeRoutingTable) HTTPAssociationsCountReturns(result1 int)

func (*FakeRoutingTable) HTTPAssociationsCountReturnsOnCall

func (fake *FakeRoutingTable) HTTPAssociationsCountReturnsOnCall(i int, result1 int)

func (*FakeRoutingTable) HasExternalRoutes

func (fake *FakeRoutingTable) HasExternalRoutes(arg1 *models.ActualLRP) bool

func (*FakeRoutingTable) HasExternalRoutesArgsForCall

func (fake *FakeRoutingTable) HasExternalRoutesArgsForCall(i int) *models.ActualLRP

func (*FakeRoutingTable) HasExternalRoutesCallCount

func (fake *FakeRoutingTable) HasExternalRoutesCallCount() int

func (*FakeRoutingTable) HasExternalRoutesCalls

func (fake *FakeRoutingTable) HasExternalRoutesCalls(stub func(*models.ActualLRP) bool)

func (*FakeRoutingTable) HasExternalRoutesReturns

func (fake *FakeRoutingTable) HasExternalRoutesReturns(result1 bool)

func (*FakeRoutingTable) HasExternalRoutesReturnsOnCall

func (fake *FakeRoutingTable) HasExternalRoutesReturnsOnCall(i int, result1 bool)

func (*FakeRoutingTable) InternalAssociationsCount

func (fake *FakeRoutingTable) InternalAssociationsCount() int

func (*FakeRoutingTable) InternalAssociationsCountCallCount

func (fake *FakeRoutingTable) InternalAssociationsCountCallCount() int

func (*FakeRoutingTable) InternalAssociationsCountCalls

func (fake *FakeRoutingTable) InternalAssociationsCountCalls(stub func() int)

func (*FakeRoutingTable) InternalAssociationsCountReturns

func (fake *FakeRoutingTable) InternalAssociationsCountReturns(result1 int)

func (*FakeRoutingTable) InternalAssociationsCountReturnsOnCall

func (fake *FakeRoutingTable) InternalAssociationsCountReturnsOnCall(i int, result1 int)

func (*FakeRoutingTable) Invocations

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

func (*FakeRoutingTable) RemoveEndpoint

func (fake *FakeRoutingTable) RemoveEndpoint(arg1 lager.Logger, arg2 *models.ActualLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

func (*FakeRoutingTable) RemoveEndpointArgsForCall

func (fake *FakeRoutingTable) RemoveEndpointArgsForCall(i int) (lager.Logger, *models.ActualLRP)

func (*FakeRoutingTable) RemoveEndpointCallCount

func (fake *FakeRoutingTable) RemoveEndpointCallCount() int

func (*FakeRoutingTable) RemoveEndpointCalls

func (fake *FakeRoutingTable) RemoveEndpointCalls(stub func(lager.Logger, *models.ActualLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit))

func (*FakeRoutingTable) RemoveEndpointReturns

func (fake *FakeRoutingTable) RemoveEndpointReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) RemoveEndpointReturnsOnCall

func (fake *FakeRoutingTable) RemoveEndpointReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) RemoveRoutes

func (fake *FakeRoutingTable) RemoveRoutes(arg1 lager.Logger, arg2 *models.DesiredLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

func (*FakeRoutingTable) RemoveRoutesArgsForCall

func (fake *FakeRoutingTable) RemoveRoutesArgsForCall(i int) (lager.Logger, *models.DesiredLRP)

func (*FakeRoutingTable) RemoveRoutesCallCount

func (fake *FakeRoutingTable) RemoveRoutesCallCount() int

func (*FakeRoutingTable) RemoveRoutesCalls

func (fake *FakeRoutingTable) RemoveRoutesCalls(stub func(lager.Logger, *models.DesiredLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit))

func (*FakeRoutingTable) RemoveRoutesReturns

func (fake *FakeRoutingTable) RemoveRoutesReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) RemoveRoutesReturnsOnCall

func (fake *FakeRoutingTable) RemoveRoutesReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) SetRoutes

func (fake *FakeRoutingTable) SetRoutes(arg1 lager.Logger, arg2 *models.DesiredLRP, arg3 *models.DesiredLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit)

func (*FakeRoutingTable) SetRoutesArgsForCall

func (fake *FakeRoutingTable) SetRoutesArgsForCall(i int) (lager.Logger, *models.DesiredLRP, *models.DesiredLRP)

func (*FakeRoutingTable) SetRoutesCallCount

func (fake *FakeRoutingTable) SetRoutesCallCount() int

func (*FakeRoutingTable) SetRoutesCalls

func (fake *FakeRoutingTable) SetRoutesCalls(stub func(lager.Logger, *models.DesiredLRP, *models.DesiredLRP) (routingtable.TCPRouteMappings, routingtable.MessagesToEmit))

func (*FakeRoutingTable) SetRoutesReturns

func (fake *FakeRoutingTable) SetRoutesReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) SetRoutesReturnsOnCall

func (fake *FakeRoutingTable) SetRoutesReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) Swap

func (*FakeRoutingTable) SwapArgsForCall

func (fake *FakeRoutingTable) SwapArgsForCall(i int) (lager.Logger, routingtable.RoutingTable, models.DomainSet)

func (*FakeRoutingTable) SwapCallCount

func (fake *FakeRoutingTable) SwapCallCount() int

func (*FakeRoutingTable) SwapCalls

func (*FakeRoutingTable) SwapReturns

func (fake *FakeRoutingTable) SwapReturns(result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) SwapReturnsOnCall

func (fake *FakeRoutingTable) SwapReturnsOnCall(i int, result1 routingtable.TCPRouteMappings, result2 routingtable.MessagesToEmit)

func (*FakeRoutingTable) TCPAssociationsCount

func (fake *FakeRoutingTable) TCPAssociationsCount() int

func (*FakeRoutingTable) TCPAssociationsCountCallCount

func (fake *FakeRoutingTable) TCPAssociationsCountCallCount() int

func (*FakeRoutingTable) TCPAssociationsCountCalls

func (fake *FakeRoutingTable) TCPAssociationsCountCalls(stub func() int)

func (*FakeRoutingTable) TCPAssociationsCountReturns

func (fake *FakeRoutingTable) TCPAssociationsCountReturns(result1 int)

func (*FakeRoutingTable) TCPAssociationsCountReturnsOnCall

func (fake *FakeRoutingTable) TCPAssociationsCountReturnsOnCall(i int, result1 int)

func (*FakeRoutingTable) TableSize

func (fake *FakeRoutingTable) TableSize() int

func (*FakeRoutingTable) TableSizeCallCount

func (fake *FakeRoutingTable) TableSizeCallCount() int

func (*FakeRoutingTable) TableSizeCalls

func (fake *FakeRoutingTable) TableSizeCalls(stub func() int)

func (*FakeRoutingTable) TableSizeReturns

func (fake *FakeRoutingTable) TableSizeReturns(result1 int)

func (*FakeRoutingTable) TableSizeReturnsOnCall

func (fake *FakeRoutingTable) TableSizeReturnsOnCall(i int, result1 int)

Jump to

Keyboard shortcuts

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