Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.
Index ¶
- type MockAppender
- type MockAppenderMockRecorder
- type MockBlock
- func (m *MockBlock) Append(ctx context.Context, entries []block.Entry, cb block.AppendCallback)
- func (m *MockBlock) EXPECT() *MockBlockMockRecorder
- func (m *MockBlock) ID() vanus.ID
- func (m *MockBlock) Read(ctx context.Context, seq int64, num int) ([]block.Entry, error)
- func (m *MockBlock) Seek(ctx context.Context, index int64, key block.Entry, flag block.SeekKeyFlag) (int64, error)
- type MockBlockMockRecorder
- type MockEntry
- func (m *MockEntry) EXPECT() *MockEntryMockRecorder
- func (m *MockEntry) Get(ordinal int) interface{}
- func (m *MockEntry) GetBytes(ordinal int) []byte
- func (m *MockEntry) GetExtensionAttribute(arg0 []byte) []byte
- func (m *MockEntry) GetInt64(ordinal int) int64
- func (m *MockEntry) GetString(ordinal int) string
- func (m *MockEntry) GetTime(ordinal int) time.Time
- func (m *MockEntry) GetUint16(ordinal int) uint16
- func (m *MockEntry) GetUint64(ordinal int) uint64
- func (m *MockEntry) RangeExtensionAttributes(cb block.ExtensionAttributeCallback)
- type MockEntryExt
- func (m *MockEntryExt) EXPECT() *MockEntryExtMockRecorder
- func (m *MockEntryExt) ExtensionAttributeCount() int
- func (m *MockEntryExt) Get(ordinal int) interface{}
- func (m *MockEntryExt) GetBytes(ordinal int) []byte
- func (m *MockEntryExt) GetExtensionAttribute(arg0 []byte) []byte
- func (m *MockEntryExt) GetInt64(ordinal int) int64
- func (m *MockEntryExt) GetString(ordinal int) string
- func (m *MockEntryExt) GetTime(ordinal int) time.Time
- func (m *MockEntryExt) GetUint16(ordinal int) uint16
- func (m *MockEntryExt) GetUint64(ordinal int) uint64
- func (m *MockEntryExt) OptionalAttributeCount() int
- func (m *MockEntryExt) RangeExtensionAttributes(cb block.ExtensionAttributeCallback)
- func (m *MockEntryExt) RangeOptionalAttributes(cb block.OptionalAttributeCallback)
- type MockEntryExtMockRecorder
- func (mr *MockEntryExtMockRecorder) ExtensionAttributeCount() *gomock.Call
- func (mr *MockEntryExtMockRecorder) Get(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetBytes(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetExtensionAttribute(arg0 interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetInt64(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetString(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetTime(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetUint16(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) GetUint64(ordinal interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) OptionalAttributeCount() *gomock.Call
- func (mr *MockEntryExtMockRecorder) RangeExtensionAttributes(cb interface{}) *gomock.Call
- func (mr *MockEntryExtMockRecorder) RangeOptionalAttributes(cb interface{}) *gomock.Call
- type MockEntryMockRecorder
- func (mr *MockEntryMockRecorder) Get(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetBytes(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetExtensionAttribute(arg0 interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetInt64(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetString(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetTime(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetUint16(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) GetUint64(ordinal interface{}) *gomock.Call
- func (mr *MockEntryMockRecorder) RangeExtensionAttributes(cb interface{}) *gomock.Call
- type MockExtensionAttributeCallback
- type MockExtensionAttributeCallbackMockRecorder
- type MockFragment
- type MockFragmentMarshaler
- type MockFragmentMarshalerMockRecorder
- type MockFragmentMockRecorder
- type MockOptionalAttributeCallback
- func (m *MockOptionalAttributeCallback) EXPECT() *MockOptionalAttributeCallbackMockRecorder
- func (m *MockOptionalAttributeCallback) OnAttribute(ordinal int, val interface{})
- func (m *MockOptionalAttributeCallback) OnBytes(ordinal int, val []byte)
- func (m *MockOptionalAttributeCallback) OnInt64(ordinal int, val int64)
- func (m *MockOptionalAttributeCallback) OnString(ordinal int, val string)
- func (m *MockOptionalAttributeCallback) OnTime(ordinal int, val time.Time)
- func (m *MockOptionalAttributeCallback) OnUint16(ordinal int, val uint16)
- func (m *MockOptionalAttributeCallback) OnUint64(ordinal int, val uint64)
- type MockOptionalAttributeCallbackMockRecorder
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnAttribute(ordinal, val interface{}) *gomock.Call
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnBytes(ordinal, val interface{}) *gomock.Call
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnInt64(ordinal, val interface{}) *gomock.Call
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnString(ordinal, val interface{}) *gomock.Call
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnTime(ordinal, val interface{}) *gomock.Call
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnUint16(ordinal, val interface{}) *gomock.Call
- func (mr *MockOptionalAttributeCallbackMockRecorder) OnUint64(ordinal, val interface{}) *gomock.Call
- type MockReader
- type MockReaderMockRecorder
- type MockSeeker
- type MockSeekerMockRecorder
- type MockValue
- type MockValueMarshaler
- type MockValueMarshalerMockRecorder
- type MockValueMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAppender ¶
type MockAppender struct {
// contains filtered or unexported fields
}
MockAppender is a mock of Appender interface.
func NewMockAppender ¶
func NewMockAppender(ctrl *gomock.Controller) *MockAppender
NewMockAppender creates a new mock instance.
func (*MockAppender) Append ¶
func (m *MockAppender) Append(ctx context.Context, entries []block.Entry, cb block.AppendCallback)
Append mocks base method.
func (*MockAppender) EXPECT ¶
func (m *MockAppender) EXPECT() *MockAppenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAppenderMockRecorder ¶
type MockAppenderMockRecorder struct {
// contains filtered or unexported fields
}
MockAppenderMockRecorder is the mock recorder for MockAppender.
func (*MockAppenderMockRecorder) Append ¶
func (mr *MockAppenderMockRecorder) Append(ctx, entries, cb interface{}) *gomock.Call
Append indicates an expected call of Append.
type MockBlock ¶
type MockBlock struct {
// contains filtered or unexported fields
}
MockBlock is a mock of Block interface.
func NewMockBlock ¶
func NewMockBlock(ctrl *gomock.Controller) *MockBlock
NewMockBlock creates a new mock instance.
func (*MockBlock) EXPECT ¶
func (m *MockBlock) EXPECT() *MockBlockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBlockMockRecorder ¶
type MockBlockMockRecorder struct {
// contains filtered or unexported fields
}
MockBlockMockRecorder is the mock recorder for MockBlock.
func (*MockBlockMockRecorder) Append ¶
func (mr *MockBlockMockRecorder) Append(ctx, entries, cb interface{}) *gomock.Call
Append indicates an expected call of Append.
func (*MockBlockMockRecorder) ID ¶
func (mr *MockBlockMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockBlockMockRecorder) Read ¶
func (mr *MockBlockMockRecorder) Read(ctx, seq, num interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockBlockMockRecorder) Seek ¶
func (mr *MockBlockMockRecorder) Seek(ctx, index, key, flag interface{}) *gomock.Call
Seek indicates an expected call of Seek.
type MockEntry ¶
type MockEntry struct {
// contains filtered or unexported fields
}
MockEntry is a mock of Entry interface.
func NewMockEntry ¶
func NewMockEntry(ctrl *gomock.Controller) *MockEntry
NewMockEntry creates a new mock instance.
func (*MockEntry) EXPECT ¶
func (m *MockEntry) EXPECT() *MockEntryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntry) GetExtensionAttribute ¶
GetExtensionAttribute mocks base method.
func (*MockEntry) RangeExtensionAttributes ¶
func (m *MockEntry) RangeExtensionAttributes(cb block.ExtensionAttributeCallback)
RangeExtensionAttributes mocks base method.
type MockEntryExt ¶
type MockEntryExt struct {
// contains filtered or unexported fields
}
MockEntryExt is a mock of EntryExt interface.
func NewMockEntryExt ¶
func NewMockEntryExt(ctrl *gomock.Controller) *MockEntryExt
NewMockEntryExt creates a new mock instance.
func (*MockEntryExt) EXPECT ¶
func (m *MockEntryExt) EXPECT() *MockEntryExtMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEntryExt) ExtensionAttributeCount ¶
func (m *MockEntryExt) ExtensionAttributeCount() int
ExtensionAttributeCount mocks base method.
func (*MockEntryExt) Get ¶
func (m *MockEntryExt) Get(ordinal int) interface{}
Get mocks base method.
func (*MockEntryExt) GetBytes ¶
func (m *MockEntryExt) GetBytes(ordinal int) []byte
GetBytes mocks base method.
func (*MockEntryExt) GetExtensionAttribute ¶
func (m *MockEntryExt) GetExtensionAttribute(arg0 []byte) []byte
GetExtensionAttribute mocks base method.
func (*MockEntryExt) GetInt64 ¶
func (m *MockEntryExt) GetInt64(ordinal int) int64
GetInt64 mocks base method.
func (*MockEntryExt) GetString ¶
func (m *MockEntryExt) GetString(ordinal int) string
GetString mocks base method.
func (*MockEntryExt) GetTime ¶
func (m *MockEntryExt) GetTime(ordinal int) time.Time
GetTime mocks base method.
func (*MockEntryExt) GetUint16 ¶
func (m *MockEntryExt) GetUint16(ordinal int) uint16
GetUint16 mocks base method.
func (*MockEntryExt) GetUint64 ¶
func (m *MockEntryExt) GetUint64(ordinal int) uint64
GetUint64 mocks base method.
func (*MockEntryExt) OptionalAttributeCount ¶
func (m *MockEntryExt) OptionalAttributeCount() int
OptionalAttributeCount mocks base method.
func (*MockEntryExt) RangeExtensionAttributes ¶
func (m *MockEntryExt) RangeExtensionAttributes(cb block.ExtensionAttributeCallback)
RangeExtensionAttributes mocks base method.
func (*MockEntryExt) RangeOptionalAttributes ¶
func (m *MockEntryExt) RangeOptionalAttributes(cb block.OptionalAttributeCallback)
RangeOptionalAttributes mocks base method.
type MockEntryExtMockRecorder ¶
type MockEntryExtMockRecorder struct {
// contains filtered or unexported fields
}
MockEntryExtMockRecorder is the mock recorder for MockEntryExt.
func (*MockEntryExtMockRecorder) ExtensionAttributeCount ¶
func (mr *MockEntryExtMockRecorder) ExtensionAttributeCount() *gomock.Call
ExtensionAttributeCount indicates an expected call of ExtensionAttributeCount.
func (*MockEntryExtMockRecorder) Get ¶
func (mr *MockEntryExtMockRecorder) Get(ordinal interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockEntryExtMockRecorder) GetBytes ¶
func (mr *MockEntryExtMockRecorder) GetBytes(ordinal interface{}) *gomock.Call
GetBytes indicates an expected call of GetBytes.
func (*MockEntryExtMockRecorder) GetExtensionAttribute ¶
func (mr *MockEntryExtMockRecorder) GetExtensionAttribute(arg0 interface{}) *gomock.Call
GetExtensionAttribute indicates an expected call of GetExtensionAttribute.
func (*MockEntryExtMockRecorder) GetInt64 ¶
func (mr *MockEntryExtMockRecorder) GetInt64(ordinal interface{}) *gomock.Call
GetInt64 indicates an expected call of GetInt64.
func (*MockEntryExtMockRecorder) GetString ¶
func (mr *MockEntryExtMockRecorder) GetString(ordinal interface{}) *gomock.Call
GetString indicates an expected call of GetString.
func (*MockEntryExtMockRecorder) GetTime ¶
func (mr *MockEntryExtMockRecorder) GetTime(ordinal interface{}) *gomock.Call
GetTime indicates an expected call of GetTime.
func (*MockEntryExtMockRecorder) GetUint16 ¶
func (mr *MockEntryExtMockRecorder) GetUint16(ordinal interface{}) *gomock.Call
GetUint16 indicates an expected call of GetUint16.
func (*MockEntryExtMockRecorder) GetUint64 ¶
func (mr *MockEntryExtMockRecorder) GetUint64(ordinal interface{}) *gomock.Call
GetUint64 indicates an expected call of GetUint64.
func (*MockEntryExtMockRecorder) OptionalAttributeCount ¶
func (mr *MockEntryExtMockRecorder) OptionalAttributeCount() *gomock.Call
OptionalAttributeCount indicates an expected call of OptionalAttributeCount.
func (*MockEntryExtMockRecorder) RangeExtensionAttributes ¶
func (mr *MockEntryExtMockRecorder) RangeExtensionAttributes(cb interface{}) *gomock.Call
RangeExtensionAttributes indicates an expected call of RangeExtensionAttributes.
func (*MockEntryExtMockRecorder) RangeOptionalAttributes ¶
func (mr *MockEntryExtMockRecorder) RangeOptionalAttributes(cb interface{}) *gomock.Call
RangeOptionalAttributes indicates an expected call of RangeOptionalAttributes.
type MockEntryMockRecorder ¶
type MockEntryMockRecorder struct {
// contains filtered or unexported fields
}
MockEntryMockRecorder is the mock recorder for MockEntry.
func (*MockEntryMockRecorder) Get ¶
func (mr *MockEntryMockRecorder) Get(ordinal interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockEntryMockRecorder) GetBytes ¶
func (mr *MockEntryMockRecorder) GetBytes(ordinal interface{}) *gomock.Call
GetBytes indicates an expected call of GetBytes.
func (*MockEntryMockRecorder) GetExtensionAttribute ¶
func (mr *MockEntryMockRecorder) GetExtensionAttribute(arg0 interface{}) *gomock.Call
GetExtensionAttribute indicates an expected call of GetExtensionAttribute.
func (*MockEntryMockRecorder) GetInt64 ¶
func (mr *MockEntryMockRecorder) GetInt64(ordinal interface{}) *gomock.Call
GetInt64 indicates an expected call of GetInt64.
func (*MockEntryMockRecorder) GetString ¶
func (mr *MockEntryMockRecorder) GetString(ordinal interface{}) *gomock.Call
GetString indicates an expected call of GetString.
func (*MockEntryMockRecorder) GetTime ¶
func (mr *MockEntryMockRecorder) GetTime(ordinal interface{}) *gomock.Call
GetTime indicates an expected call of GetTime.
func (*MockEntryMockRecorder) GetUint16 ¶
func (mr *MockEntryMockRecorder) GetUint16(ordinal interface{}) *gomock.Call
GetUint16 indicates an expected call of GetUint16.
func (*MockEntryMockRecorder) GetUint64 ¶
func (mr *MockEntryMockRecorder) GetUint64(ordinal interface{}) *gomock.Call
GetUint64 indicates an expected call of GetUint64.
func (*MockEntryMockRecorder) RangeExtensionAttributes ¶
func (mr *MockEntryMockRecorder) RangeExtensionAttributes(cb interface{}) *gomock.Call
RangeExtensionAttributes indicates an expected call of RangeExtensionAttributes.
type MockExtensionAttributeCallback ¶
type MockExtensionAttributeCallback struct {
// contains filtered or unexported fields
}
MockExtensionAttributeCallback is a mock of ExtensionAttributeCallback interface.
func NewMockExtensionAttributeCallback ¶
func NewMockExtensionAttributeCallback(ctrl *gomock.Controller) *MockExtensionAttributeCallback
NewMockExtensionAttributeCallback creates a new mock instance.
func (*MockExtensionAttributeCallback) EXPECT ¶
func (m *MockExtensionAttributeCallback) EXPECT() *MockExtensionAttributeCallbackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtensionAttributeCallback) OnAttribute ¶
func (m *MockExtensionAttributeCallback) OnAttribute(attr []byte, val block.Value)
OnAttribute mocks base method.
type MockExtensionAttributeCallbackMockRecorder ¶
type MockExtensionAttributeCallbackMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionAttributeCallbackMockRecorder is the mock recorder for MockExtensionAttributeCallback.
func (*MockExtensionAttributeCallbackMockRecorder) OnAttribute ¶
func (mr *MockExtensionAttributeCallbackMockRecorder) OnAttribute(attr, val interface{}) *gomock.Call
OnAttribute indicates an expected call of OnAttribute.
type MockFragment ¶
type MockFragment struct {
// contains filtered or unexported fields
}
MockFragment is a mock of Fragment interface.
func NewMockFragment ¶
func NewMockFragment(ctrl *gomock.Controller) *MockFragment
NewMockFragment creates a new mock instance.
func (*MockFragment) EXPECT ¶
func (m *MockFragment) EXPECT() *MockFragmentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFragment) EndOffset ¶
func (m *MockFragment) EndOffset() int64
EndOffset mocks base method.
func (*MockFragment) StartOffset ¶
func (m *MockFragment) StartOffset() int64
StartOffset mocks base method.
type MockFragmentMarshaler ¶
type MockFragmentMarshaler struct {
// contains filtered or unexported fields
}
MockFragmentMarshaler is a mock of FragmentMarshaler interface.
func NewMockFragmentMarshaler ¶
func NewMockFragmentMarshaler(ctrl *gomock.Controller) *MockFragmentMarshaler
NewMockFragmentMarshaler creates a new mock instance.
func (*MockFragmentMarshaler) EXPECT ¶
func (m *MockFragmentMarshaler) EXPECT() *MockFragmentMarshalerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFragmentMarshaler) MarshalFragment ¶
func (m *MockFragmentMarshaler) MarshalFragment() ([]byte, error)
MarshalFragment mocks base method.
type MockFragmentMarshalerMockRecorder ¶
type MockFragmentMarshalerMockRecorder struct {
// contains filtered or unexported fields
}
MockFragmentMarshalerMockRecorder is the mock recorder for MockFragmentMarshaler.
func (*MockFragmentMarshalerMockRecorder) MarshalFragment ¶
func (mr *MockFragmentMarshalerMockRecorder) MarshalFragment() *gomock.Call
MarshalFragment indicates an expected call of MarshalFragment.
type MockFragmentMockRecorder ¶
type MockFragmentMockRecorder struct {
// contains filtered or unexported fields
}
MockFragmentMockRecorder is the mock recorder for MockFragment.
func (*MockFragmentMockRecorder) EndOffset ¶
func (mr *MockFragmentMockRecorder) EndOffset() *gomock.Call
EndOffset indicates an expected call of EndOffset.
func (*MockFragmentMockRecorder) Payload ¶
func (mr *MockFragmentMockRecorder) Payload() *gomock.Call
Payload indicates an expected call of Payload.
func (*MockFragmentMockRecorder) Size ¶
func (mr *MockFragmentMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockFragmentMockRecorder) StartOffset ¶
func (mr *MockFragmentMockRecorder) StartOffset() *gomock.Call
StartOffset indicates an expected call of StartOffset.
type MockOptionalAttributeCallback ¶
type MockOptionalAttributeCallback struct {
// contains filtered or unexported fields
}
MockOptionalAttributeCallback is a mock of OptionalAttributeCallback interface.
func NewMockOptionalAttributeCallback ¶
func NewMockOptionalAttributeCallback(ctrl *gomock.Controller) *MockOptionalAttributeCallback
NewMockOptionalAttributeCallback creates a new mock instance.
func (*MockOptionalAttributeCallback) EXPECT ¶
func (m *MockOptionalAttributeCallback) EXPECT() *MockOptionalAttributeCallbackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOptionalAttributeCallback) OnAttribute ¶
func (m *MockOptionalAttributeCallback) OnAttribute(ordinal int, val interface{})
OnAttribute mocks base method.
func (*MockOptionalAttributeCallback) OnBytes ¶
func (m *MockOptionalAttributeCallback) OnBytes(ordinal int, val []byte)
OnBytes mocks base method.
func (*MockOptionalAttributeCallback) OnInt64 ¶
func (m *MockOptionalAttributeCallback) OnInt64(ordinal int, val int64)
OnInt64 mocks base method.
func (*MockOptionalAttributeCallback) OnString ¶
func (m *MockOptionalAttributeCallback) OnString(ordinal int, val string)
OnString mocks base method.
func (*MockOptionalAttributeCallback) OnTime ¶
func (m *MockOptionalAttributeCallback) OnTime(ordinal int, val time.Time)
OnTime mocks base method.
func (*MockOptionalAttributeCallback) OnUint16 ¶
func (m *MockOptionalAttributeCallback) OnUint16(ordinal int, val uint16)
OnUint16 mocks base method.
func (*MockOptionalAttributeCallback) OnUint64 ¶
func (m *MockOptionalAttributeCallback) OnUint64(ordinal int, val uint64)
OnUint64 mocks base method.
type MockOptionalAttributeCallbackMockRecorder ¶
type MockOptionalAttributeCallbackMockRecorder struct {
// contains filtered or unexported fields
}
MockOptionalAttributeCallbackMockRecorder is the mock recorder for MockOptionalAttributeCallback.
func (*MockOptionalAttributeCallbackMockRecorder) OnAttribute ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnAttribute(ordinal, val interface{}) *gomock.Call
OnAttribute indicates an expected call of OnAttribute.
func (*MockOptionalAttributeCallbackMockRecorder) OnBytes ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnBytes(ordinal, val interface{}) *gomock.Call
OnBytes indicates an expected call of OnBytes.
func (*MockOptionalAttributeCallbackMockRecorder) OnInt64 ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnInt64(ordinal, val interface{}) *gomock.Call
OnInt64 indicates an expected call of OnInt64.
func (*MockOptionalAttributeCallbackMockRecorder) OnString ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnString(ordinal, val interface{}) *gomock.Call
OnString indicates an expected call of OnString.
func (*MockOptionalAttributeCallbackMockRecorder) OnTime ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnTime(ordinal, val interface{}) *gomock.Call
OnTime indicates an expected call of OnTime.
func (*MockOptionalAttributeCallbackMockRecorder) OnUint16 ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnUint16(ordinal, val interface{}) *gomock.Call
OnUint16 indicates an expected call of OnUint16.
func (*MockOptionalAttributeCallbackMockRecorder) OnUint64 ¶
func (mr *MockOptionalAttributeCallbackMockRecorder) OnUint64(ordinal, val interface{}) *gomock.Call
OnUint64 indicates an expected call of OnUint64.
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface.
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance.
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader.
func (*MockReaderMockRecorder) Read ¶
func (mr *MockReaderMockRecorder) Read(ctx, seq, num interface{}) *gomock.Call
Read indicates an expected call of Read.
type MockSeeker ¶
type MockSeeker struct {
// contains filtered or unexported fields
}
MockSeeker is a mock of Seeker interface.
func NewMockSeeker ¶
func NewMockSeeker(ctrl *gomock.Controller) *MockSeeker
NewMockSeeker creates a new mock instance.
func (*MockSeeker) EXPECT ¶
func (m *MockSeeker) EXPECT() *MockSeekerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSeekerMockRecorder ¶
type MockSeekerMockRecorder struct {
// contains filtered or unexported fields
}
MockSeekerMockRecorder is the mock recorder for MockSeeker.
func (*MockSeekerMockRecorder) Seek ¶
func (mr *MockSeekerMockRecorder) Seek(ctx, index, key, flag interface{}) *gomock.Call
Seek indicates an expected call of Seek.
type MockValue ¶
type MockValue struct {
// contains filtered or unexported fields
}
MockValue is a mock of Value interface.
func NewMockValue ¶
func NewMockValue(ctrl *gomock.Controller) *MockValue
NewMockValue creates a new mock instance.
func (*MockValue) EXPECT ¶
func (m *MockValue) EXPECT() *MockValueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockValueMarshaler ¶
type MockValueMarshaler struct {
// contains filtered or unexported fields
}
MockValueMarshaler is a mock of ValueMarshaler interface.
func NewMockValueMarshaler ¶
func NewMockValueMarshaler(ctrl *gomock.Controller) *MockValueMarshaler
NewMockValueMarshaler creates a new mock instance.
func (*MockValueMarshaler) EXPECT ¶
func (m *MockValueMarshaler) EXPECT() *MockValueMarshalerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValueMarshaler) MarshalTo ¶
func (m *MockValueMarshaler) MarshalTo(buf []byte) int
MarshalTo mocks base method.
func (*MockValueMarshaler) Value ¶
func (m *MockValueMarshaler) Value() []byte
Value mocks base method.
type MockValueMarshalerMockRecorder ¶
type MockValueMarshalerMockRecorder struct {
// contains filtered or unexported fields
}
MockValueMarshalerMockRecorder is the mock recorder for MockValueMarshaler.
func (*MockValueMarshalerMockRecorder) MarshalTo ¶
func (mr *MockValueMarshalerMockRecorder) MarshalTo(buf interface{}) *gomock.Call
MarshalTo indicates an expected call of MarshalTo.
func (*MockValueMarshalerMockRecorder) Size ¶
func (mr *MockValueMarshalerMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockValueMarshalerMockRecorder) Value ¶
func (mr *MockValueMarshalerMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.
type MockValueMockRecorder ¶
type MockValueMockRecorder struct {
// contains filtered or unexported fields
}
MockValueMockRecorder is the mock recorder for MockValue.
func (*MockValueMockRecorder) Size ¶
func (mr *MockValueMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockValueMockRecorder) Value ¶
func (mr *MockValueMockRecorder) Value() *gomock.Call
Value indicates an expected call of Value.