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 ¶
- type FakeClient
- func (fake *FakeClient) DeleteRoutes(arg1 []db.Route) error
- func (fake *FakeClient) DeleteRoutesArgsForCall(i int) []db.Route
- func (fake *FakeClient) DeleteRoutesCallCount() int
- func (fake *FakeClient) DeleteRoutesReturns(result1 error)
- func (fake *FakeClient) DeleteTcpRouteMappings(arg1 []db.TcpRouteMapping) error
- func (fake *FakeClient) DeleteTcpRouteMappingsArgsForCall(i int) []db.TcpRouteMapping
- func (fake *FakeClient) DeleteTcpRouteMappingsCallCount() int
- func (fake *FakeClient) DeleteTcpRouteMappingsReturns(result1 error)
- func (fake *FakeClient) RouterGroups() ([]db.RouterGroup, error)
- func (fake *FakeClient) RouterGroupsCallCount() int
- func (fake *FakeClient) RouterGroupsReturns(result1 []db.RouterGroup, result2 error)
- func (fake *FakeClient) Routes() ([]db.Route, error)
- func (fake *FakeClient) RoutesCallCount() int
- func (fake *FakeClient) RoutesReturns(result1 []db.Route, result2 error)
- func (fake *FakeClient) SetToken(arg1 string)
- func (fake *FakeClient) SetTokenArgsForCall(i int) string
- func (fake *FakeClient) SetTokenCallCount() int
- func (fake *FakeClient) SubscribeToEvents() (routing_api.EventSource, error)
- func (fake *FakeClient) SubscribeToEventsCallCount() int
- func (fake *FakeClient) SubscribeToEventsReturns(result1 routing_api.EventSource, result2 error)
- func (fake *FakeClient) SubscribeToTcpEvents() (routing_api.TcpEventSource, error)
- func (fake *FakeClient) SubscribeToTcpEventsCallCount() int
- func (fake *FakeClient) SubscribeToTcpEventsReturns(result1 routing_api.TcpEventSource, result2 error)
- func (fake *FakeClient) TcpRouteMappings() ([]db.TcpRouteMapping, error)
- func (fake *FakeClient) TcpRouteMappingsCallCount() int
- func (fake *FakeClient) TcpRouteMappingsReturns(result1 []db.TcpRouteMapping, result2 error)
- func (fake *FakeClient) UpsertRoutes(arg1 []db.Route) error
- func (fake *FakeClient) UpsertRoutesArgsForCall(i int) []db.Route
- func (fake *FakeClient) UpsertRoutesCallCount() int
- func (fake *FakeClient) UpsertRoutesReturns(result1 error)
- func (fake *FakeClient) UpsertTcpRouteMappings(arg1 []db.TcpRouteMapping) error
- func (fake *FakeClient) UpsertTcpRouteMappingsArgsForCall(i int) []db.TcpRouteMapping
- func (fake *FakeClient) UpsertTcpRouteMappingsCallCount() int
- func (fake *FakeClient) UpsertTcpRouteMappingsReturns(result1 error)
- type FakeEventSource
- func (fake *FakeEventSource) Close() error
- func (fake *FakeEventSource) CloseCallCount() int
- func (fake *FakeEventSource) CloseReturns(result1 error)
- func (fake *FakeEventSource) Next() (routing_api.Event, error)
- func (fake *FakeEventSource) NextCallCount() int
- func (fake *FakeEventSource) NextReturns(result1 routing_api.Event, result2 error)
- type FakeRawEventSource
- func (fake *FakeRawEventSource) Close() error
- func (fake *FakeRawEventSource) CloseCallCount() int
- func (fake *FakeRawEventSource) CloseReturns(result1 error)
- func (fake *FakeRawEventSource) Next() (sse.Event, error)
- func (fake *FakeRawEventSource) NextCallCount() int
- func (fake *FakeRawEventSource) NextReturns(result1 sse.Event, result2 error)
- type FakeTcpEventSource
- func (fake *FakeTcpEventSource) Close() error
- func (fake *FakeTcpEventSource) CloseCallCount() int
- func (fake *FakeTcpEventSource) CloseReturns(result1 error)
- func (fake *FakeTcpEventSource) Next() (routing_api.TcpEvent, error)
- func (fake *FakeTcpEventSource) NextCallCount() int
- func (fake *FakeTcpEventSource) NextReturns(result1 routing_api.TcpEvent, result2 error)
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) 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) 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)
Click to show internal directories.
Click to hide internal directories.