Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeEvent
- type FakeEventSource
- func (fake *FakeEventSource) Close() error
- func (fake *FakeEventSource) CloseCallCount() int
- func (fake *FakeEventSource) CloseReturns(result1 error)
- func (fake *FakeEventSource) Next() (models.Event, error)
- func (fake *FakeEventSource) NextCallCount() int
- func (fake *FakeEventSource) NextReturns(result1 models.Event, result2 error)
- type FakeHub
- func (fake *FakeHub) Close() error
- func (fake *FakeHub) CloseCallCount() int
- func (fake *FakeHub) CloseReturns(result1 error)
- func (fake *FakeHub) Emit(arg1 models.Event)
- func (fake *FakeHub) EmitArgsForCall(i int) models.Event
- func (fake *FakeHub) EmitCallCount() int
- func (fake *FakeHub) RegisterCallback(arg1 func(count int))
- func (fake *FakeHub) RegisterCallbackArgsForCall(i int) func(count int)
- func (fake *FakeHub) RegisterCallbackCallCount() int
- func (fake *FakeHub) Subscribe() (events.EventSource, error)
- func (fake *FakeHub) SubscribeCallCount() int
- func (fake *FakeHub) SubscribeReturns(result1 events.EventSource, result2 error)
- func (fake *FakeHub) UnregisterCallback()
- func (fake *FakeHub) UnregisterCallbackCallCount() int
- 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 UnmarshalableEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEvent ¶
type FakeEvent struct{ Token string }
func (FakeEvent) ProtoMessage ¶
func (FakeEvent) ProtoMessage()
type FakeEventSource ¶
type FakeEventSource struct { NextStub func() (models.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) NextCallCount ¶
func (fake *FakeEventSource) NextCallCount() int
func (*FakeEventSource) NextReturns ¶
func (fake *FakeEventSource) NextReturns(result1 models.Event, result2 error)
type FakeHub ¶
type FakeHub struct { SubscribeStub func() (events.EventSource, error) EmitStub func(models.Event) CloseStub func() error RegisterCallbackStub func(func(count int)) UnregisterCallbackStub func() // contains filtered or unexported fields }
func (*FakeHub) CloseCallCount ¶
func (*FakeHub) CloseReturns ¶
func (*FakeHub) EmitCallCount ¶
func (*FakeHub) RegisterCallback ¶
func (*FakeHub) RegisterCallbackArgsForCall ¶
func (*FakeHub) RegisterCallbackCallCount ¶
func (*FakeHub) SubscribeCallCount ¶
func (*FakeHub) SubscribeReturns ¶
func (fake *FakeHub) SubscribeReturns(result1 events.EventSource, result2 error)
func (*FakeHub) UnregisterCallback ¶
func (fake *FakeHub) UnregisterCallback()
func (*FakeHub) UnregisterCallbackCallCount ¶
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 UnmarshalableEvent ¶
type UnmarshalableEvent struct{ Fn func() }
func (UnmarshalableEvent) EventType ¶
func (UnmarshalableEvent) EventType() string
func (UnmarshalableEvent) Key ¶
func (UnmarshalableEvent) Key() string
func (UnmarshalableEvent) Marshal ¶
func (UnmarshalableEvent) Marshal() ([]byte, error)
func (UnmarshalableEvent) ProtoMessage ¶
func (UnmarshalableEvent) ProtoMessage()
func (UnmarshalableEvent) Reset ¶
func (UnmarshalableEvent) Reset()
func (UnmarshalableEvent) String ¶
func (UnmarshalableEvent) String() string
Click to show internal directories.
Click to hide internal directories.