mock_simple

package
v0.0.0-...-25676cf Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_simple is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockmarshaller

type Mockmarshaller struct {
	// contains filtered or unexported fields
}

Mockmarshaller is a mock of marshaller interface.

func NewMockmarshaller

func NewMockmarshaller(ctrl *gomock.Controller) *Mockmarshaller

NewMockmarshaller creates a new mock instance.

func (*Mockmarshaller) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockmarshaller) MarshalCheckpoint

func (m *Mockmarshaller) MarshalCheckpoint(ts uint64) ([]byte, error)

MarshalCheckpoint mocks base method.

func (*Mockmarshaller) MarshalDDLEvent

func (m *Mockmarshaller) MarshalDDLEvent(event *model.DDLEvent) ([]byte, error)

MarshalDDLEvent mocks base method.

func (*Mockmarshaller) MarshalRowChangedEvent

func (m *Mockmarshaller) MarshalRowChangedEvent(event *model.RowChangedEvent, handleKeyOnly bool, claimCheckFileName string) ([]byte, error)

MarshalRowChangedEvent mocks base method.

func (*Mockmarshaller) Unmarshal

func (m *Mockmarshaller) Unmarshal(data []byte, v any) error

Unmarshal mocks base method.

type MockmarshallerMockRecorder

type MockmarshallerMockRecorder struct {
	// contains filtered or unexported fields
}

MockmarshallerMockRecorder is the mock recorder for Mockmarshaller.

func (*MockmarshallerMockRecorder) MarshalCheckpoint

func (mr *MockmarshallerMockRecorder) MarshalCheckpoint(ts interface{}) *gomock.Call

MarshalCheckpoint indicates an expected call of MarshalCheckpoint.

func (*MockmarshallerMockRecorder) MarshalDDLEvent

func (mr *MockmarshallerMockRecorder) MarshalDDLEvent(event interface{}) *gomock.Call

MarshalDDLEvent indicates an expected call of MarshalDDLEvent.

func (*MockmarshallerMockRecorder) MarshalRowChangedEvent

func (mr *MockmarshallerMockRecorder) MarshalRowChangedEvent(event, handleKeyOnly, claimCheckFileName interface{}) *gomock.Call

MarshalRowChangedEvent indicates an expected call of MarshalRowChangedEvent.

func (*MockmarshallerMockRecorder) Unmarshal

func (mr *MockmarshallerMockRecorder) Unmarshal(data, v interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

Jump to

Keyboard shortcuts

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