fake_routing_api

package
v0.0.0-...-b61aaf9 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0, Apache-2.0, BSD-2-Clause-Views, + 2 more Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

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 FakeClient

type FakeClient struct {
	SetTokenStub func(string)

	UpsertRoutesStub func([]db.Route) error

	RoutesStub func() ([]db.Route, error)

	DeleteRoutesStub func([]db.Route) error

	RouterGroupsStub func() ([]db.RouterGroup, error)

	UpsertTcpRouteMappingsStub func([]db.TcpRouteMapping) error

	DeleteTcpRouteMappingsStub func([]db.TcpRouteMapping) error

	TcpRouteMappingsStub func() ([]db.TcpRouteMapping, error)

	SubscribeToEventsStub func() (routing_api.EventSource, error)

	SubscribeToTcpEventsStub func() (routing_api.TcpEventSource, error)
	// contains filtered or unexported fields
}

func (*FakeClient) DeleteRoutes

func (fake *FakeClient) DeleteRoutes(arg1 []db.Route) error

func (*FakeClient) DeleteRoutesArgsForCall

func (fake *FakeClient) DeleteRoutesArgsForCall(i int) []db.Route

func (*FakeClient) DeleteRoutesCallCount

func (fake *FakeClient) DeleteRoutesCallCount() int

func (*FakeClient) DeleteRoutesReturns

func (fake *FakeClient) DeleteRoutesReturns(result1 error)

func (*FakeClient) DeleteTcpRouteMappings

func (fake *FakeClient) DeleteTcpRouteMappings(arg1 []db.TcpRouteMapping) error

func (*FakeClient) DeleteTcpRouteMappingsArgsForCall

func (fake *FakeClient) DeleteTcpRouteMappingsArgsForCall(i int) []db.TcpRouteMapping

func (*FakeClient) DeleteTcpRouteMappingsCallCount

func (fake *FakeClient) DeleteTcpRouteMappingsCallCount() int

func (*FakeClient) DeleteTcpRouteMappingsReturns

func (fake *FakeClient) DeleteTcpRouteMappingsReturns(result1 error)

func (*FakeClient) RouterGroups

func (fake *FakeClient) RouterGroups() ([]db.RouterGroup, error)

func (*FakeClient) RouterGroupsCallCount

func (fake *FakeClient) RouterGroupsCallCount() int

func (*FakeClient) RouterGroupsReturns

func (fake *FakeClient) RouterGroupsReturns(result1 []db.RouterGroup, result2 error)

func (*FakeClient) Routes

func (fake *FakeClient) Routes() ([]db.Route, error)

func (*FakeClient) RoutesCallCount

func (fake *FakeClient) RoutesCallCount() int

func (*FakeClient) RoutesReturns

func (fake *FakeClient) RoutesReturns(result1 []db.Route, result2 error)

func (*FakeClient) SetToken

func (fake *FakeClient) SetToken(arg1 string)

func (*FakeClient) SetTokenArgsForCall

func (fake *FakeClient) SetTokenArgsForCall(i int) string

func (*FakeClient) SetTokenCallCount

func (fake *FakeClient) SetTokenCallCount() int

func (*FakeClient) SubscribeToEvents

func (fake *FakeClient) SubscribeToEvents() (routing_api.EventSource, error)

func (*FakeClient) SubscribeToEventsCallCount

func (fake *FakeClient) SubscribeToEventsCallCount() int

func (*FakeClient) SubscribeToEventsReturns

func (fake *FakeClient) SubscribeToEventsReturns(result1 routing_api.EventSource, result2 error)

func (*FakeClient) SubscribeToTcpEvents

func (fake *FakeClient) SubscribeToTcpEvents() (routing_api.TcpEventSource, error)

func (*FakeClient) SubscribeToTcpEventsCallCount

func (fake *FakeClient) SubscribeToTcpEventsCallCount() int

func (*FakeClient) SubscribeToTcpEventsReturns

func (fake *FakeClient) SubscribeToTcpEventsReturns(result1 routing_api.TcpEventSource, result2 error)

func (*FakeClient) TcpRouteMappings

func (fake *FakeClient) TcpRouteMappings() ([]db.TcpRouteMapping, error)

func (*FakeClient) TcpRouteMappingsCallCount

func (fake *FakeClient) TcpRouteMappingsCallCount() int

func (*FakeClient) TcpRouteMappingsReturns

func (fake *FakeClient) TcpRouteMappingsReturns(result1 []db.TcpRouteMapping, result2 error)

func (*FakeClient) UpsertRoutes

func (fake *FakeClient) UpsertRoutes(arg1 []db.Route) error

func (*FakeClient) UpsertRoutesArgsForCall

func (fake *FakeClient) UpsertRoutesArgsForCall(i int) []db.Route

func (*FakeClient) UpsertRoutesCallCount

func (fake *FakeClient) UpsertRoutesCallCount() int

func (*FakeClient) UpsertRoutesReturns

func (fake *FakeClient) UpsertRoutesReturns(result1 error)

func (*FakeClient) UpsertTcpRouteMappings

func (fake *FakeClient) UpsertTcpRouteMappings(arg1 []db.TcpRouteMapping) error

func (*FakeClient) UpsertTcpRouteMappingsArgsForCall

func (fake *FakeClient) UpsertTcpRouteMappingsArgsForCall(i int) []db.TcpRouteMapping

func (*FakeClient) UpsertTcpRouteMappingsCallCount

func (fake *FakeClient) UpsertTcpRouteMappingsCallCount() int

func (*FakeClient) UpsertTcpRouteMappingsReturns

func (fake *FakeClient) UpsertTcpRouteMappingsReturns(result1 error)

type FakeEventSource

type FakeEventSource struct {
	NextStub func() (routing_api.Event, error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeEventSource) Close

func (fake *FakeEventSource) Close() error

func (*FakeEventSource) CloseCallCount

func (fake *FakeEventSource) CloseCallCount() int

func (*FakeEventSource) CloseReturns

func (fake *FakeEventSource) CloseReturns(result1 error)

func (*FakeEventSource) Next

func (fake *FakeEventSource) Next() (routing_api.Event, error)

func (*FakeEventSource) NextCallCount

func (fake *FakeEventSource) NextCallCount() int

func (*FakeEventSource) NextReturns

func (fake *FakeEventSource) NextReturns(result1 routing_api.Event, result2 error)

type FakeRawEventSource

type FakeRawEventSource struct {
	NextStub func() (sse.Event, error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeRawEventSource) Close

func (fake *FakeRawEventSource) Close() error

func (*FakeRawEventSource) CloseCallCount

func (fake *FakeRawEventSource) CloseCallCount() int

func (*FakeRawEventSource) CloseReturns

func (fake *FakeRawEventSource) CloseReturns(result1 error)

func (*FakeRawEventSource) Next

func (fake *FakeRawEventSource) Next() (sse.Event, error)

func (*FakeRawEventSource) NextCallCount

func (fake *FakeRawEventSource) NextCallCount() int

func (*FakeRawEventSource) NextReturns

func (fake *FakeRawEventSource) NextReturns(result1 sse.Event, result2 error)

type FakeTcpEventSource

type FakeTcpEventSource struct {
	NextStub func() (routing_api.TcpEvent, error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeTcpEventSource) Close

func (fake *FakeTcpEventSource) Close() error

func (*FakeTcpEventSource) CloseCallCount

func (fake *FakeTcpEventSource) CloseCallCount() int

func (*FakeTcpEventSource) CloseReturns

func (fake *FakeTcpEventSource) CloseReturns(result1 error)

func (*FakeTcpEventSource) Next

func (fake *FakeTcpEventSource) Next() (routing_api.TcpEvent, error)

func (*FakeTcpEventSource) NextCallCount

func (fake *FakeTcpEventSource) NextCallCount() int

func (*FakeTcpEventSource) NextReturns

func (fake *FakeTcpEventSource) NextReturns(result1 routing_api.TcpEvent, result2 error)

Jump to

Keyboard shortcuts

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