Documentation ¶
Index ¶
- type MockImmutableMessage
- func (_m *MockImmutableMessage) EXPECT() *MockImmutableMessage_Expecter
- func (_m *MockImmutableMessage) EstimateSize() int
- func (_m *MockImmutableMessage) LastConfirmedMessageID() message.MessageID
- func (_m *MockImmutableMessage) MessageID() message.MessageID
- func (_m *MockImmutableMessage) MessageType() message.MessageType
- func (_m *MockImmutableMessage) Payload() []byte
- func (_m *MockImmutableMessage) Properties() message.RProperties
- func (_m *MockImmutableMessage) TimeTick() uint64
- func (_m *MockImmutableMessage) VChannel() string
- func (_m *MockImmutableMessage) Version() message.Version
- func (_m *MockImmutableMessage) WALName() string
- type MockImmutableMessage_EstimateSize_Call
- func (_c *MockImmutableMessage_EstimateSize_Call) Return(_a0 int) *MockImmutableMessage_EstimateSize_Call
- func (_c *MockImmutableMessage_EstimateSize_Call) Run(run func()) *MockImmutableMessage_EstimateSize_Call
- func (_c *MockImmutableMessage_EstimateSize_Call) RunAndReturn(run func() int) *MockImmutableMessage_EstimateSize_Call
- type MockImmutableMessage_Expecter
- func (_e *MockImmutableMessage_Expecter) EstimateSize() *MockImmutableMessage_EstimateSize_Call
- func (_e *MockImmutableMessage_Expecter) LastConfirmedMessageID() *MockImmutableMessage_LastConfirmedMessageID_Call
- func (_e *MockImmutableMessage_Expecter) MessageID() *MockImmutableMessage_MessageID_Call
- func (_e *MockImmutableMessage_Expecter) MessageType() *MockImmutableMessage_MessageType_Call
- func (_e *MockImmutableMessage_Expecter) Payload() *MockImmutableMessage_Payload_Call
- func (_e *MockImmutableMessage_Expecter) Properties() *MockImmutableMessage_Properties_Call
- func (_e *MockImmutableMessage_Expecter) TimeTick() *MockImmutableMessage_TimeTick_Call
- func (_e *MockImmutableMessage_Expecter) VChannel() *MockImmutableMessage_VChannel_Call
- func (_e *MockImmutableMessage_Expecter) Version() *MockImmutableMessage_Version_Call
- func (_e *MockImmutableMessage_Expecter) WALName() *MockImmutableMessage_WALName_Call
- type MockImmutableMessage_LastConfirmedMessageID_Call
- func (_c *MockImmutableMessage_LastConfirmedMessageID_Call) Return(_a0 message.MessageID) *MockImmutableMessage_LastConfirmedMessageID_Call
- func (_c *MockImmutableMessage_LastConfirmedMessageID_Call) Run(run func()) *MockImmutableMessage_LastConfirmedMessageID_Call
- func (_c *MockImmutableMessage_LastConfirmedMessageID_Call) RunAndReturn(run func() message.MessageID) *MockImmutableMessage_LastConfirmedMessageID_Call
- type MockImmutableMessage_MessageID_Call
- func (_c *MockImmutableMessage_MessageID_Call) Return(_a0 message.MessageID) *MockImmutableMessage_MessageID_Call
- func (_c *MockImmutableMessage_MessageID_Call) Run(run func()) *MockImmutableMessage_MessageID_Call
- func (_c *MockImmutableMessage_MessageID_Call) RunAndReturn(run func() message.MessageID) *MockImmutableMessage_MessageID_Call
- type MockImmutableMessage_MessageType_Call
- func (_c *MockImmutableMessage_MessageType_Call) Return(_a0 message.MessageType) *MockImmutableMessage_MessageType_Call
- func (_c *MockImmutableMessage_MessageType_Call) Run(run func()) *MockImmutableMessage_MessageType_Call
- func (_c *MockImmutableMessage_MessageType_Call) RunAndReturn(run func() message.MessageType) *MockImmutableMessage_MessageType_Call
- type MockImmutableMessage_Payload_Call
- func (_c *MockImmutableMessage_Payload_Call) Return(_a0 []byte) *MockImmutableMessage_Payload_Call
- func (_c *MockImmutableMessage_Payload_Call) Run(run func()) *MockImmutableMessage_Payload_Call
- func (_c *MockImmutableMessage_Payload_Call) RunAndReturn(run func() []byte) *MockImmutableMessage_Payload_Call
- type MockImmutableMessage_Properties_Call
- func (_c *MockImmutableMessage_Properties_Call) Return(_a0 message.RProperties) *MockImmutableMessage_Properties_Call
- func (_c *MockImmutableMessage_Properties_Call) Run(run func()) *MockImmutableMessage_Properties_Call
- func (_c *MockImmutableMessage_Properties_Call) RunAndReturn(run func() message.RProperties) *MockImmutableMessage_Properties_Call
- type MockImmutableMessage_TimeTick_Call
- func (_c *MockImmutableMessage_TimeTick_Call) Return(_a0 uint64) *MockImmutableMessage_TimeTick_Call
- func (_c *MockImmutableMessage_TimeTick_Call) Run(run func()) *MockImmutableMessage_TimeTick_Call
- func (_c *MockImmutableMessage_TimeTick_Call) RunAndReturn(run func() uint64) *MockImmutableMessage_TimeTick_Call
- type MockImmutableMessage_VChannel_Call
- func (_c *MockImmutableMessage_VChannel_Call) Return(_a0 string) *MockImmutableMessage_VChannel_Call
- func (_c *MockImmutableMessage_VChannel_Call) Run(run func()) *MockImmutableMessage_VChannel_Call
- func (_c *MockImmutableMessage_VChannel_Call) RunAndReturn(run func() string) *MockImmutableMessage_VChannel_Call
- type MockImmutableMessage_Version_Call
- func (_c *MockImmutableMessage_Version_Call) Return(_a0 message.Version) *MockImmutableMessage_Version_Call
- func (_c *MockImmutableMessage_Version_Call) Run(run func()) *MockImmutableMessage_Version_Call
- func (_c *MockImmutableMessage_Version_Call) RunAndReturn(run func() message.Version) *MockImmutableMessage_Version_Call
- type MockImmutableMessage_WALName_Call
- func (_c *MockImmutableMessage_WALName_Call) Return(_a0 string) *MockImmutableMessage_WALName_Call
- func (_c *MockImmutableMessage_WALName_Call) Run(run func()) *MockImmutableMessage_WALName_Call
- func (_c *MockImmutableMessage_WALName_Call) RunAndReturn(run func() string) *MockImmutableMessage_WALName_Call
- type MockMessageID
- func (_m *MockMessageID) EQ(_a0 message.MessageID) bool
- func (_m *MockMessageID) EXPECT() *MockMessageID_Expecter
- func (_m *MockMessageID) LT(_a0 message.MessageID) bool
- func (_m *MockMessageID) LTE(_a0 message.MessageID) bool
- func (_m *MockMessageID) Marshal() string
- func (_m *MockMessageID) WALName() string
- type MockMessageID_EQ_Call
- type MockMessageID_Expecter
- func (_e *MockMessageID_Expecter) EQ(_a0 interface{}) *MockMessageID_EQ_Call
- func (_e *MockMessageID_Expecter) LT(_a0 interface{}) *MockMessageID_LT_Call
- func (_e *MockMessageID_Expecter) LTE(_a0 interface{}) *MockMessageID_LTE_Call
- func (_e *MockMessageID_Expecter) Marshal() *MockMessageID_Marshal_Call
- func (_e *MockMessageID_Expecter) WALName() *MockMessageID_WALName_Call
- type MockMessageID_LTE_Call
- type MockMessageID_LT_Call
- type MockMessageID_Marshal_Call
- type MockMessageID_WALName_Call
- type MockMutableMessage
- func (_m *MockMutableMessage) EXPECT() *MockMutableMessage_Expecter
- func (_m *MockMutableMessage) EstimateSize() int
- func (_m *MockMutableMessage) IntoImmutableMessage(msgID message.MessageID) message.ImmutableMessage
- func (_m *MockMutableMessage) MessageType() message.MessageType
- func (_m *MockMutableMessage) Payload() []byte
- func (_m *MockMutableMessage) Properties() message.RProperties
- func (_m *MockMutableMessage) TimeTick() uint64
- func (_m *MockMutableMessage) VChannel() string
- func (_m *MockMutableMessage) Version() message.Version
- func (_m *MockMutableMessage) WithLastConfirmed(id message.MessageID) message.MutableMessage
- func (_m *MockMutableMessage) WithTimeTick(tt uint64) message.MutableMessage
- type MockMutableMessage_EstimateSize_Call
- func (_c *MockMutableMessage_EstimateSize_Call) Return(_a0 int) *MockMutableMessage_EstimateSize_Call
- func (_c *MockMutableMessage_EstimateSize_Call) Run(run func()) *MockMutableMessage_EstimateSize_Call
- func (_c *MockMutableMessage_EstimateSize_Call) RunAndReturn(run func() int) *MockMutableMessage_EstimateSize_Call
- type MockMutableMessage_Expecter
- func (_e *MockMutableMessage_Expecter) EstimateSize() *MockMutableMessage_EstimateSize_Call
- func (_e *MockMutableMessage_Expecter) IntoImmutableMessage(msgID interface{}) *MockMutableMessage_IntoImmutableMessage_Call
- func (_e *MockMutableMessage_Expecter) MessageType() *MockMutableMessage_MessageType_Call
- func (_e *MockMutableMessage_Expecter) Payload() *MockMutableMessage_Payload_Call
- func (_e *MockMutableMessage_Expecter) Properties() *MockMutableMessage_Properties_Call
- func (_e *MockMutableMessage_Expecter) TimeTick() *MockMutableMessage_TimeTick_Call
- func (_e *MockMutableMessage_Expecter) VChannel() *MockMutableMessage_VChannel_Call
- func (_e *MockMutableMessage_Expecter) Version() *MockMutableMessage_Version_Call
- func (_e *MockMutableMessage_Expecter) WithLastConfirmed(id interface{}) *MockMutableMessage_WithLastConfirmed_Call
- func (_e *MockMutableMessage_Expecter) WithTimeTick(tt interface{}) *MockMutableMessage_WithTimeTick_Call
- type MockMutableMessage_IntoImmutableMessage_Call
- func (_c *MockMutableMessage_IntoImmutableMessage_Call) Return(_a0 message.ImmutableMessage) *MockMutableMessage_IntoImmutableMessage_Call
- func (_c *MockMutableMessage_IntoImmutableMessage_Call) Run(run func(msgID message.MessageID)) *MockMutableMessage_IntoImmutableMessage_Call
- func (_c *MockMutableMessage_IntoImmutableMessage_Call) RunAndReturn(run func(message.MessageID) message.ImmutableMessage) *MockMutableMessage_IntoImmutableMessage_Call
- type MockMutableMessage_MessageType_Call
- func (_c *MockMutableMessage_MessageType_Call) Return(_a0 message.MessageType) *MockMutableMessage_MessageType_Call
- func (_c *MockMutableMessage_MessageType_Call) Run(run func()) *MockMutableMessage_MessageType_Call
- func (_c *MockMutableMessage_MessageType_Call) RunAndReturn(run func() message.MessageType) *MockMutableMessage_MessageType_Call
- type MockMutableMessage_Payload_Call
- type MockMutableMessage_Properties_Call
- func (_c *MockMutableMessage_Properties_Call) Return(_a0 message.RProperties) *MockMutableMessage_Properties_Call
- func (_c *MockMutableMessage_Properties_Call) Run(run func()) *MockMutableMessage_Properties_Call
- func (_c *MockMutableMessage_Properties_Call) RunAndReturn(run func() message.RProperties) *MockMutableMessage_Properties_Call
- type MockMutableMessage_TimeTick_Call
- func (_c *MockMutableMessage_TimeTick_Call) Return(_a0 uint64) *MockMutableMessage_TimeTick_Call
- func (_c *MockMutableMessage_TimeTick_Call) Run(run func()) *MockMutableMessage_TimeTick_Call
- func (_c *MockMutableMessage_TimeTick_Call) RunAndReturn(run func() uint64) *MockMutableMessage_TimeTick_Call
- type MockMutableMessage_VChannel_Call
- func (_c *MockMutableMessage_VChannel_Call) Return(_a0 string) *MockMutableMessage_VChannel_Call
- func (_c *MockMutableMessage_VChannel_Call) Run(run func()) *MockMutableMessage_VChannel_Call
- func (_c *MockMutableMessage_VChannel_Call) RunAndReturn(run func() string) *MockMutableMessage_VChannel_Call
- type MockMutableMessage_Version_Call
- func (_c *MockMutableMessage_Version_Call) Return(_a0 message.Version) *MockMutableMessage_Version_Call
- func (_c *MockMutableMessage_Version_Call) Run(run func()) *MockMutableMessage_Version_Call
- func (_c *MockMutableMessage_Version_Call) RunAndReturn(run func() message.Version) *MockMutableMessage_Version_Call
- type MockMutableMessage_WithLastConfirmed_Call
- func (_c *MockMutableMessage_WithLastConfirmed_Call) Return(_a0 message.MutableMessage) *MockMutableMessage_WithLastConfirmed_Call
- func (_c *MockMutableMessage_WithLastConfirmed_Call) Run(run func(id message.MessageID)) *MockMutableMessage_WithLastConfirmed_Call
- func (_c *MockMutableMessage_WithLastConfirmed_Call) RunAndReturn(run func(message.MessageID) message.MutableMessage) *MockMutableMessage_WithLastConfirmed_Call
- type MockMutableMessage_WithTimeTick_Call
- func (_c *MockMutableMessage_WithTimeTick_Call) Return(_a0 message.MutableMessage) *MockMutableMessage_WithTimeTick_Call
- func (_c *MockMutableMessage_WithTimeTick_Call) Run(run func(tt uint64)) *MockMutableMessage_WithTimeTick_Call
- func (_c *MockMutableMessage_WithTimeTick_Call) RunAndReturn(run func(uint64) message.MutableMessage) *MockMutableMessage_WithTimeTick_Call
- type MockRProperties
- type MockRProperties_Exist_Call
- type MockRProperties_Expecter
- type MockRProperties_Get_Call
- type MockRProperties_ToRawMap_Call
- func (_c *MockRProperties_ToRawMap_Call) Return(_a0 map[string]string) *MockRProperties_ToRawMap_Call
- func (_c *MockRProperties_ToRawMap_Call) Run(run func()) *MockRProperties_ToRawMap_Call
- func (_c *MockRProperties_ToRawMap_Call) RunAndReturn(run func() map[string]string) *MockRProperties_ToRawMap_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImmutableMessage ¶
MockImmutableMessage is an autogenerated mock type for the ImmutableMessage type
func NewMockImmutableMessage ¶
func NewMockImmutableMessage(t interface { mock.TestingT Cleanup(func()) }) *MockImmutableMessage
NewMockImmutableMessage creates a new instance of MockImmutableMessage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockImmutableMessage) EXPECT ¶
func (_m *MockImmutableMessage) EXPECT() *MockImmutableMessage_Expecter
func (*MockImmutableMessage) EstimateSize ¶
func (_m *MockImmutableMessage) EstimateSize() int
EstimateSize provides a mock function with given fields:
func (*MockImmutableMessage) LastConfirmedMessageID ¶
func (_m *MockImmutableMessage) LastConfirmedMessageID() message.MessageID
LastConfirmedMessageID provides a mock function with given fields:
func (*MockImmutableMessage) MessageID ¶
func (_m *MockImmutableMessage) MessageID() message.MessageID
MessageID provides a mock function with given fields:
func (*MockImmutableMessage) MessageType ¶
func (_m *MockImmutableMessage) MessageType() message.MessageType
MessageType provides a mock function with given fields:
func (*MockImmutableMessage) Payload ¶
func (_m *MockImmutableMessage) Payload() []byte
Payload provides a mock function with given fields:
func (*MockImmutableMessage) Properties ¶
func (_m *MockImmutableMessage) Properties() message.RProperties
Properties provides a mock function with given fields:
func (*MockImmutableMessage) TimeTick ¶
func (_m *MockImmutableMessage) TimeTick() uint64
TimeTick provides a mock function with given fields:
func (*MockImmutableMessage) VChannel ¶
func (_m *MockImmutableMessage) VChannel() string
VChannel provides a mock function with given fields:
func (*MockImmutableMessage) Version ¶
func (_m *MockImmutableMessage) Version() message.Version
Version provides a mock function with given fields:
func (*MockImmutableMessage) WALName ¶
func (_m *MockImmutableMessage) WALName() string
WALName provides a mock function with given fields:
type MockImmutableMessage_EstimateSize_Call ¶
MockImmutableMessage_EstimateSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateSize'
func (*MockImmutableMessage_EstimateSize_Call) Return ¶
func (_c *MockImmutableMessage_EstimateSize_Call) Return(_a0 int) *MockImmutableMessage_EstimateSize_Call
func (*MockImmutableMessage_EstimateSize_Call) Run ¶
func (_c *MockImmutableMessage_EstimateSize_Call) Run(run func()) *MockImmutableMessage_EstimateSize_Call
func (*MockImmutableMessage_EstimateSize_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_EstimateSize_Call) RunAndReturn(run func() int) *MockImmutableMessage_EstimateSize_Call
type MockImmutableMessage_Expecter ¶
type MockImmutableMessage_Expecter struct {
// contains filtered or unexported fields
}
func (*MockImmutableMessage_Expecter) EstimateSize ¶
func (_e *MockImmutableMessage_Expecter) EstimateSize() *MockImmutableMessage_EstimateSize_Call
EstimateSize is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) LastConfirmedMessageID ¶
func (_e *MockImmutableMessage_Expecter) LastConfirmedMessageID() *MockImmutableMessage_LastConfirmedMessageID_Call
LastConfirmedMessageID is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) MessageID ¶
func (_e *MockImmutableMessage_Expecter) MessageID() *MockImmutableMessage_MessageID_Call
MessageID is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) MessageType ¶
func (_e *MockImmutableMessage_Expecter) MessageType() *MockImmutableMessage_MessageType_Call
MessageType is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) Payload ¶
func (_e *MockImmutableMessage_Expecter) Payload() *MockImmutableMessage_Payload_Call
Payload is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) Properties ¶
func (_e *MockImmutableMessage_Expecter) Properties() *MockImmutableMessage_Properties_Call
Properties is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) TimeTick ¶
func (_e *MockImmutableMessage_Expecter) TimeTick() *MockImmutableMessage_TimeTick_Call
TimeTick is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) VChannel ¶
func (_e *MockImmutableMessage_Expecter) VChannel() *MockImmutableMessage_VChannel_Call
VChannel is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) Version ¶
func (_e *MockImmutableMessage_Expecter) Version() *MockImmutableMessage_Version_Call
Version is a helper method to define mock.On call
func (*MockImmutableMessage_Expecter) WALName ¶
func (_e *MockImmutableMessage_Expecter) WALName() *MockImmutableMessage_WALName_Call
WALName is a helper method to define mock.On call
type MockImmutableMessage_LastConfirmedMessageID_Call ¶
MockImmutableMessage_LastConfirmedMessageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastConfirmedMessageID'
func (*MockImmutableMessage_LastConfirmedMessageID_Call) Run ¶
func (_c *MockImmutableMessage_LastConfirmedMessageID_Call) Run(run func()) *MockImmutableMessage_LastConfirmedMessageID_Call
func (*MockImmutableMessage_LastConfirmedMessageID_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_LastConfirmedMessageID_Call) RunAndReturn(run func() message.MessageID) *MockImmutableMessage_LastConfirmedMessageID_Call
type MockImmutableMessage_MessageID_Call ¶
MockImmutableMessage_MessageID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageID'
func (*MockImmutableMessage_MessageID_Call) Return ¶
func (_c *MockImmutableMessage_MessageID_Call) Return(_a0 message.MessageID) *MockImmutableMessage_MessageID_Call
func (*MockImmutableMessage_MessageID_Call) Run ¶
func (_c *MockImmutableMessage_MessageID_Call) Run(run func()) *MockImmutableMessage_MessageID_Call
func (*MockImmutableMessage_MessageID_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_MessageID_Call) RunAndReturn(run func() message.MessageID) *MockImmutableMessage_MessageID_Call
type MockImmutableMessage_MessageType_Call ¶
MockImmutableMessage_MessageType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageType'
func (*MockImmutableMessage_MessageType_Call) Return ¶
func (_c *MockImmutableMessage_MessageType_Call) Return(_a0 message.MessageType) *MockImmutableMessage_MessageType_Call
func (*MockImmutableMessage_MessageType_Call) Run ¶
func (_c *MockImmutableMessage_MessageType_Call) Run(run func()) *MockImmutableMessage_MessageType_Call
func (*MockImmutableMessage_MessageType_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_MessageType_Call) RunAndReturn(run func() message.MessageType) *MockImmutableMessage_MessageType_Call
type MockImmutableMessage_Payload_Call ¶
MockImmutableMessage_Payload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Payload'
func (*MockImmutableMessage_Payload_Call) Return ¶
func (_c *MockImmutableMessage_Payload_Call) Return(_a0 []byte) *MockImmutableMessage_Payload_Call
func (*MockImmutableMessage_Payload_Call) Run ¶
func (_c *MockImmutableMessage_Payload_Call) Run(run func()) *MockImmutableMessage_Payload_Call
func (*MockImmutableMessage_Payload_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_Payload_Call) RunAndReturn(run func() []byte) *MockImmutableMessage_Payload_Call
type MockImmutableMessage_Properties_Call ¶
MockImmutableMessage_Properties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Properties'
func (*MockImmutableMessage_Properties_Call) Return ¶
func (_c *MockImmutableMessage_Properties_Call) Return(_a0 message.RProperties) *MockImmutableMessage_Properties_Call
func (*MockImmutableMessage_Properties_Call) Run ¶
func (_c *MockImmutableMessage_Properties_Call) Run(run func()) *MockImmutableMessage_Properties_Call
func (*MockImmutableMessage_Properties_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_Properties_Call) RunAndReturn(run func() message.RProperties) *MockImmutableMessage_Properties_Call
type MockImmutableMessage_TimeTick_Call ¶
MockImmutableMessage_TimeTick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeTick'
func (*MockImmutableMessage_TimeTick_Call) Return ¶
func (_c *MockImmutableMessage_TimeTick_Call) Return(_a0 uint64) *MockImmutableMessage_TimeTick_Call
func (*MockImmutableMessage_TimeTick_Call) Run ¶
func (_c *MockImmutableMessage_TimeTick_Call) Run(run func()) *MockImmutableMessage_TimeTick_Call
func (*MockImmutableMessage_TimeTick_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_TimeTick_Call) RunAndReturn(run func() uint64) *MockImmutableMessage_TimeTick_Call
type MockImmutableMessage_VChannel_Call ¶
MockImmutableMessage_VChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VChannel'
func (*MockImmutableMessage_VChannel_Call) Return ¶
func (_c *MockImmutableMessage_VChannel_Call) Return(_a0 string) *MockImmutableMessage_VChannel_Call
func (*MockImmutableMessage_VChannel_Call) Run ¶
func (_c *MockImmutableMessage_VChannel_Call) Run(run func()) *MockImmutableMessage_VChannel_Call
func (*MockImmutableMessage_VChannel_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_VChannel_Call) RunAndReturn(run func() string) *MockImmutableMessage_VChannel_Call
type MockImmutableMessage_Version_Call ¶
MockImmutableMessage_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*MockImmutableMessage_Version_Call) Return ¶
func (_c *MockImmutableMessage_Version_Call) Return(_a0 message.Version) *MockImmutableMessage_Version_Call
func (*MockImmutableMessage_Version_Call) Run ¶
func (_c *MockImmutableMessage_Version_Call) Run(run func()) *MockImmutableMessage_Version_Call
func (*MockImmutableMessage_Version_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_Version_Call) RunAndReturn(run func() message.Version) *MockImmutableMessage_Version_Call
type MockImmutableMessage_WALName_Call ¶
MockImmutableMessage_WALName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WALName'
func (*MockImmutableMessage_WALName_Call) Return ¶
func (_c *MockImmutableMessage_WALName_Call) Return(_a0 string) *MockImmutableMessage_WALName_Call
func (*MockImmutableMessage_WALName_Call) Run ¶
func (_c *MockImmutableMessage_WALName_Call) Run(run func()) *MockImmutableMessage_WALName_Call
func (*MockImmutableMessage_WALName_Call) RunAndReturn ¶
func (_c *MockImmutableMessage_WALName_Call) RunAndReturn(run func() string) *MockImmutableMessage_WALName_Call
type MockMessageID ¶
MockMessageID is an autogenerated mock type for the MessageID type
func NewMockMessageID ¶
func NewMockMessageID(t interface { mock.TestingT Cleanup(func()) }) *MockMessageID
NewMockMessageID creates a new instance of MockMessageID. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockMessageID) EQ ¶
func (_m *MockMessageID) EQ(_a0 message.MessageID) bool
EQ provides a mock function with given fields: _a0
func (*MockMessageID) EXPECT ¶
func (_m *MockMessageID) EXPECT() *MockMessageID_Expecter
func (*MockMessageID) LT ¶
func (_m *MockMessageID) LT(_a0 message.MessageID) bool
LT provides a mock function with given fields: _a0
func (*MockMessageID) LTE ¶
func (_m *MockMessageID) LTE(_a0 message.MessageID) bool
LTE provides a mock function with given fields: _a0
func (*MockMessageID) Marshal ¶
func (_m *MockMessageID) Marshal() string
Marshal provides a mock function with given fields:
func (*MockMessageID) WALName ¶
func (_m *MockMessageID) WALName() string
WALName provides a mock function with given fields:
type MockMessageID_EQ_Call ¶
MockMessageID_EQ_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EQ'
func (*MockMessageID_EQ_Call) Return ¶
func (_c *MockMessageID_EQ_Call) Return(_a0 bool) *MockMessageID_EQ_Call
func (*MockMessageID_EQ_Call) Run ¶
func (_c *MockMessageID_EQ_Call) Run(run func(_a0 message.MessageID)) *MockMessageID_EQ_Call
func (*MockMessageID_EQ_Call) RunAndReturn ¶
func (_c *MockMessageID_EQ_Call) RunAndReturn(run func(message.MessageID) bool) *MockMessageID_EQ_Call
type MockMessageID_Expecter ¶
type MockMessageID_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMessageID_Expecter) EQ ¶
func (_e *MockMessageID_Expecter) EQ(_a0 interface{}) *MockMessageID_EQ_Call
EQ is a helper method to define mock.On call
- _a0 message.MessageID
func (*MockMessageID_Expecter) LT ¶
func (_e *MockMessageID_Expecter) LT(_a0 interface{}) *MockMessageID_LT_Call
LT is a helper method to define mock.On call
- _a0 message.MessageID
func (*MockMessageID_Expecter) LTE ¶
func (_e *MockMessageID_Expecter) LTE(_a0 interface{}) *MockMessageID_LTE_Call
LTE is a helper method to define mock.On call
- _a0 message.MessageID
func (*MockMessageID_Expecter) Marshal ¶
func (_e *MockMessageID_Expecter) Marshal() *MockMessageID_Marshal_Call
Marshal is a helper method to define mock.On call
func (*MockMessageID_Expecter) WALName ¶
func (_e *MockMessageID_Expecter) WALName() *MockMessageID_WALName_Call
WALName is a helper method to define mock.On call
type MockMessageID_LTE_Call ¶
MockMessageID_LTE_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LTE'
func (*MockMessageID_LTE_Call) Return ¶
func (_c *MockMessageID_LTE_Call) Return(_a0 bool) *MockMessageID_LTE_Call
func (*MockMessageID_LTE_Call) Run ¶
func (_c *MockMessageID_LTE_Call) Run(run func(_a0 message.MessageID)) *MockMessageID_LTE_Call
func (*MockMessageID_LTE_Call) RunAndReturn ¶
func (_c *MockMessageID_LTE_Call) RunAndReturn(run func(message.MessageID) bool) *MockMessageID_LTE_Call
type MockMessageID_LT_Call ¶
MockMessageID_LT_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LT'
func (*MockMessageID_LT_Call) Return ¶
func (_c *MockMessageID_LT_Call) Return(_a0 bool) *MockMessageID_LT_Call
func (*MockMessageID_LT_Call) Run ¶
func (_c *MockMessageID_LT_Call) Run(run func(_a0 message.MessageID)) *MockMessageID_LT_Call
func (*MockMessageID_LT_Call) RunAndReturn ¶
func (_c *MockMessageID_LT_Call) RunAndReturn(run func(message.MessageID) bool) *MockMessageID_LT_Call
type MockMessageID_Marshal_Call ¶
MockMessageID_Marshal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Marshal'
func (*MockMessageID_Marshal_Call) Return ¶
func (_c *MockMessageID_Marshal_Call) Return(_a0 string) *MockMessageID_Marshal_Call
func (*MockMessageID_Marshal_Call) Run ¶
func (_c *MockMessageID_Marshal_Call) Run(run func()) *MockMessageID_Marshal_Call
func (*MockMessageID_Marshal_Call) RunAndReturn ¶
func (_c *MockMessageID_Marshal_Call) RunAndReturn(run func() string) *MockMessageID_Marshal_Call
type MockMessageID_WALName_Call ¶
MockMessageID_WALName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WALName'
func (*MockMessageID_WALName_Call) Return ¶
func (_c *MockMessageID_WALName_Call) Return(_a0 string) *MockMessageID_WALName_Call
func (*MockMessageID_WALName_Call) Run ¶
func (_c *MockMessageID_WALName_Call) Run(run func()) *MockMessageID_WALName_Call
func (*MockMessageID_WALName_Call) RunAndReturn ¶
func (_c *MockMessageID_WALName_Call) RunAndReturn(run func() string) *MockMessageID_WALName_Call
type MockMutableMessage ¶
MockMutableMessage is an autogenerated mock type for the MutableMessage type
func NewMockMutableMessage ¶
func NewMockMutableMessage(t interface { mock.TestingT Cleanup(func()) }) *MockMutableMessage
NewMockMutableMessage creates a new instance of MockMutableMessage. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockMutableMessage) EXPECT ¶
func (_m *MockMutableMessage) EXPECT() *MockMutableMessage_Expecter
func (*MockMutableMessage) EstimateSize ¶
func (_m *MockMutableMessage) EstimateSize() int
EstimateSize provides a mock function with given fields:
func (*MockMutableMessage) IntoImmutableMessage ¶
func (_m *MockMutableMessage) IntoImmutableMessage(msgID message.MessageID) message.ImmutableMessage
IntoImmutableMessage provides a mock function with given fields: msgID
func (*MockMutableMessage) MessageType ¶
func (_m *MockMutableMessage) MessageType() message.MessageType
MessageType provides a mock function with given fields:
func (*MockMutableMessage) Payload ¶
func (_m *MockMutableMessage) Payload() []byte
Payload provides a mock function with given fields:
func (*MockMutableMessage) Properties ¶
func (_m *MockMutableMessage) Properties() message.RProperties
Properties provides a mock function with given fields:
func (*MockMutableMessage) TimeTick ¶
func (_m *MockMutableMessage) TimeTick() uint64
TimeTick provides a mock function with given fields:
func (*MockMutableMessage) VChannel ¶
func (_m *MockMutableMessage) VChannel() string
VChannel provides a mock function with given fields:
func (*MockMutableMessage) Version ¶
func (_m *MockMutableMessage) Version() message.Version
Version provides a mock function with given fields:
func (*MockMutableMessage) WithLastConfirmed ¶
func (_m *MockMutableMessage) WithLastConfirmed(id message.MessageID) message.MutableMessage
WithLastConfirmed provides a mock function with given fields: id
func (*MockMutableMessage) WithTimeTick ¶
func (_m *MockMutableMessage) WithTimeTick(tt uint64) message.MutableMessage
WithTimeTick provides a mock function with given fields: tt
type MockMutableMessage_EstimateSize_Call ¶
MockMutableMessage_EstimateSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateSize'
func (*MockMutableMessage_EstimateSize_Call) Return ¶
func (_c *MockMutableMessage_EstimateSize_Call) Return(_a0 int) *MockMutableMessage_EstimateSize_Call
func (*MockMutableMessage_EstimateSize_Call) Run ¶
func (_c *MockMutableMessage_EstimateSize_Call) Run(run func()) *MockMutableMessage_EstimateSize_Call
func (*MockMutableMessage_EstimateSize_Call) RunAndReturn ¶
func (_c *MockMutableMessage_EstimateSize_Call) RunAndReturn(run func() int) *MockMutableMessage_EstimateSize_Call
type MockMutableMessage_Expecter ¶
type MockMutableMessage_Expecter struct {
// contains filtered or unexported fields
}
func (*MockMutableMessage_Expecter) EstimateSize ¶
func (_e *MockMutableMessage_Expecter) EstimateSize() *MockMutableMessage_EstimateSize_Call
EstimateSize is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) IntoImmutableMessage ¶
func (_e *MockMutableMessage_Expecter) IntoImmutableMessage(msgID interface{}) *MockMutableMessage_IntoImmutableMessage_Call
IntoImmutableMessage is a helper method to define mock.On call
- msgID message.MessageID
func (*MockMutableMessage_Expecter) MessageType ¶
func (_e *MockMutableMessage_Expecter) MessageType() *MockMutableMessage_MessageType_Call
MessageType is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) Payload ¶
func (_e *MockMutableMessage_Expecter) Payload() *MockMutableMessage_Payload_Call
Payload is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) Properties ¶
func (_e *MockMutableMessage_Expecter) Properties() *MockMutableMessage_Properties_Call
Properties is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) TimeTick ¶
func (_e *MockMutableMessage_Expecter) TimeTick() *MockMutableMessage_TimeTick_Call
TimeTick is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) VChannel ¶
func (_e *MockMutableMessage_Expecter) VChannel() *MockMutableMessage_VChannel_Call
VChannel is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) Version ¶
func (_e *MockMutableMessage_Expecter) Version() *MockMutableMessage_Version_Call
Version is a helper method to define mock.On call
func (*MockMutableMessage_Expecter) WithLastConfirmed ¶
func (_e *MockMutableMessage_Expecter) WithLastConfirmed(id interface{}) *MockMutableMessage_WithLastConfirmed_Call
WithLastConfirmed is a helper method to define mock.On call
- id message.MessageID
func (*MockMutableMessage_Expecter) WithTimeTick ¶
func (_e *MockMutableMessage_Expecter) WithTimeTick(tt interface{}) *MockMutableMessage_WithTimeTick_Call
WithTimeTick is a helper method to define mock.On call
- tt uint64
type MockMutableMessage_IntoImmutableMessage_Call ¶
MockMutableMessage_IntoImmutableMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IntoImmutableMessage'
func (*MockMutableMessage_IntoImmutableMessage_Call) Run ¶
func (_c *MockMutableMessage_IntoImmutableMessage_Call) Run(run func(msgID message.MessageID)) *MockMutableMessage_IntoImmutableMessage_Call
func (*MockMutableMessage_IntoImmutableMessage_Call) RunAndReturn ¶
func (_c *MockMutableMessage_IntoImmutableMessage_Call) RunAndReturn(run func(message.MessageID) message.ImmutableMessage) *MockMutableMessage_IntoImmutableMessage_Call
type MockMutableMessage_MessageType_Call ¶
MockMutableMessage_MessageType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MessageType'
func (*MockMutableMessage_MessageType_Call) Return ¶
func (_c *MockMutableMessage_MessageType_Call) Return(_a0 message.MessageType) *MockMutableMessage_MessageType_Call
func (*MockMutableMessage_MessageType_Call) Run ¶
func (_c *MockMutableMessage_MessageType_Call) Run(run func()) *MockMutableMessage_MessageType_Call
func (*MockMutableMessage_MessageType_Call) RunAndReturn ¶
func (_c *MockMutableMessage_MessageType_Call) RunAndReturn(run func() message.MessageType) *MockMutableMessage_MessageType_Call
type MockMutableMessage_Payload_Call ¶
MockMutableMessage_Payload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Payload'
func (*MockMutableMessage_Payload_Call) Return ¶
func (_c *MockMutableMessage_Payload_Call) Return(_a0 []byte) *MockMutableMessage_Payload_Call
func (*MockMutableMessage_Payload_Call) Run ¶
func (_c *MockMutableMessage_Payload_Call) Run(run func()) *MockMutableMessage_Payload_Call
func (*MockMutableMessage_Payload_Call) RunAndReturn ¶
func (_c *MockMutableMessage_Payload_Call) RunAndReturn(run func() []byte) *MockMutableMessage_Payload_Call
type MockMutableMessage_Properties_Call ¶
MockMutableMessage_Properties_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Properties'
func (*MockMutableMessage_Properties_Call) Return ¶
func (_c *MockMutableMessage_Properties_Call) Return(_a0 message.RProperties) *MockMutableMessage_Properties_Call
func (*MockMutableMessage_Properties_Call) Run ¶
func (_c *MockMutableMessage_Properties_Call) Run(run func()) *MockMutableMessage_Properties_Call
func (*MockMutableMessage_Properties_Call) RunAndReturn ¶
func (_c *MockMutableMessage_Properties_Call) RunAndReturn(run func() message.RProperties) *MockMutableMessage_Properties_Call
type MockMutableMessage_TimeTick_Call ¶
MockMutableMessage_TimeTick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeTick'
func (*MockMutableMessage_TimeTick_Call) Return ¶
func (_c *MockMutableMessage_TimeTick_Call) Return(_a0 uint64) *MockMutableMessage_TimeTick_Call
func (*MockMutableMessage_TimeTick_Call) Run ¶
func (_c *MockMutableMessage_TimeTick_Call) Run(run func()) *MockMutableMessage_TimeTick_Call
func (*MockMutableMessage_TimeTick_Call) RunAndReturn ¶
func (_c *MockMutableMessage_TimeTick_Call) RunAndReturn(run func() uint64) *MockMutableMessage_TimeTick_Call
type MockMutableMessage_VChannel_Call ¶
MockMutableMessage_VChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VChannel'
func (*MockMutableMessage_VChannel_Call) Return ¶
func (_c *MockMutableMessage_VChannel_Call) Return(_a0 string) *MockMutableMessage_VChannel_Call
func (*MockMutableMessage_VChannel_Call) Run ¶
func (_c *MockMutableMessage_VChannel_Call) Run(run func()) *MockMutableMessage_VChannel_Call
func (*MockMutableMessage_VChannel_Call) RunAndReturn ¶
func (_c *MockMutableMessage_VChannel_Call) RunAndReturn(run func() string) *MockMutableMessage_VChannel_Call
type MockMutableMessage_Version_Call ¶
MockMutableMessage_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*MockMutableMessage_Version_Call) Return ¶
func (_c *MockMutableMessage_Version_Call) Return(_a0 message.Version) *MockMutableMessage_Version_Call
func (*MockMutableMessage_Version_Call) Run ¶
func (_c *MockMutableMessage_Version_Call) Run(run func()) *MockMutableMessage_Version_Call
func (*MockMutableMessage_Version_Call) RunAndReturn ¶
func (_c *MockMutableMessage_Version_Call) RunAndReturn(run func() message.Version) *MockMutableMessage_Version_Call
type MockMutableMessage_WithLastConfirmed_Call ¶
MockMutableMessage_WithLastConfirmed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithLastConfirmed'
func (*MockMutableMessage_WithLastConfirmed_Call) Return ¶
func (_c *MockMutableMessage_WithLastConfirmed_Call) Return(_a0 message.MutableMessage) *MockMutableMessage_WithLastConfirmed_Call
func (*MockMutableMessage_WithLastConfirmed_Call) Run ¶
func (_c *MockMutableMessage_WithLastConfirmed_Call) Run(run func(id message.MessageID)) *MockMutableMessage_WithLastConfirmed_Call
func (*MockMutableMessage_WithLastConfirmed_Call) RunAndReturn ¶
func (_c *MockMutableMessage_WithLastConfirmed_Call) RunAndReturn(run func(message.MessageID) message.MutableMessage) *MockMutableMessage_WithLastConfirmed_Call
type MockMutableMessage_WithTimeTick_Call ¶
MockMutableMessage_WithTimeTick_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTimeTick'
func (*MockMutableMessage_WithTimeTick_Call) Return ¶
func (_c *MockMutableMessage_WithTimeTick_Call) Return(_a0 message.MutableMessage) *MockMutableMessage_WithTimeTick_Call
func (*MockMutableMessage_WithTimeTick_Call) Run ¶
func (_c *MockMutableMessage_WithTimeTick_Call) Run(run func(tt uint64)) *MockMutableMessage_WithTimeTick_Call
func (*MockMutableMessage_WithTimeTick_Call) RunAndReturn ¶
func (_c *MockMutableMessage_WithTimeTick_Call) RunAndReturn(run func(uint64) message.MutableMessage) *MockMutableMessage_WithTimeTick_Call
type MockRProperties ¶
MockRProperties is an autogenerated mock type for the RProperties type
func NewMockRProperties ¶
func NewMockRProperties(t interface { mock.TestingT Cleanup(func()) }) *MockRProperties
NewMockRProperties creates a new instance of MockRProperties. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockRProperties) EXPECT ¶
func (_m *MockRProperties) EXPECT() *MockRProperties_Expecter
func (*MockRProperties) Exist ¶
func (_m *MockRProperties) Exist(key string) bool
Exist provides a mock function with given fields: key
func (*MockRProperties) Get ¶
func (_m *MockRProperties) Get(key string) (string, bool)
Get provides a mock function with given fields: key
func (*MockRProperties) ToRawMap ¶
func (_m *MockRProperties) ToRawMap() map[string]string
ToRawMap provides a mock function with given fields:
type MockRProperties_Exist_Call ¶
MockRProperties_Exist_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exist'
func (*MockRProperties_Exist_Call) Return ¶
func (_c *MockRProperties_Exist_Call) Return(_a0 bool) *MockRProperties_Exist_Call
func (*MockRProperties_Exist_Call) Run ¶
func (_c *MockRProperties_Exist_Call) Run(run func(key string)) *MockRProperties_Exist_Call
func (*MockRProperties_Exist_Call) RunAndReturn ¶
func (_c *MockRProperties_Exist_Call) RunAndReturn(run func(string) bool) *MockRProperties_Exist_Call
type MockRProperties_Expecter ¶
type MockRProperties_Expecter struct {
// contains filtered or unexported fields
}
func (*MockRProperties_Expecter) Exist ¶
func (_e *MockRProperties_Expecter) Exist(key interface{}) *MockRProperties_Exist_Call
Exist is a helper method to define mock.On call
- key string
func (*MockRProperties_Expecter) Get ¶
func (_e *MockRProperties_Expecter) Get(key interface{}) *MockRProperties_Get_Call
Get is a helper method to define mock.On call
- key string
func (*MockRProperties_Expecter) ToRawMap ¶
func (_e *MockRProperties_Expecter) ToRawMap() *MockRProperties_ToRawMap_Call
ToRawMap is a helper method to define mock.On call
type MockRProperties_Get_Call ¶
MockRProperties_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockRProperties_Get_Call) Return ¶
func (_c *MockRProperties_Get_Call) Return(value string, ok bool) *MockRProperties_Get_Call
func (*MockRProperties_Get_Call) Run ¶
func (_c *MockRProperties_Get_Call) Run(run func(key string)) *MockRProperties_Get_Call
func (*MockRProperties_Get_Call) RunAndReturn ¶
func (_c *MockRProperties_Get_Call) RunAndReturn(run func(string) (string, bool)) *MockRProperties_Get_Call
type MockRProperties_ToRawMap_Call ¶
MockRProperties_ToRawMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ToRawMap'
func (*MockRProperties_ToRawMap_Call) Return ¶
func (_c *MockRProperties_ToRawMap_Call) Return(_a0 map[string]string) *MockRProperties_ToRawMap_Call
func (*MockRProperties_ToRawMap_Call) Run ¶
func (_c *MockRProperties_ToRawMap_Call) Run(run func()) *MockRProperties_ToRawMap_Call
func (*MockRProperties_ToRawMap_Call) RunAndReturn ¶
func (_c *MockRProperties_ToRawMap_Call) RunAndReturn(run func() map[string]string) *MockRProperties_ToRawMap_Call