Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockCaptureInterface
- type MockCaptureInterfaceMockRecorder
- type MockCapturesGetter
- type MockCapturesGetterMockRecorder
- type MockChangefeedInterface
- func (m *MockChangefeedInterface) Create(ctx context.Context, cfg *v2.ChangefeedConfig) (*v2.ChangeFeedInfo, error)
- func (m *MockChangefeedInterface) Delete(ctx context.Context, namespace, name string) error
- func (m *MockChangefeedInterface) EXPECT() *MockChangefeedInterfaceMockRecorder
- func (m *MockChangefeedInterface) Get(ctx context.Context, namespace, name string) (*v2.ChangeFeedInfo, error)
- func (m *MockChangefeedInterface) List(ctx context.Context, namespace, state string) ([]v2.ChangefeedCommonInfo, error)
- func (m *MockChangefeedInterface) Pause(ctx context.Context, namespace, name string) error
- func (m *MockChangefeedInterface) Resume(ctx context.Context, cfg *v2.ResumeChangefeedConfig, namespace, name string) error
- func (m *MockChangefeedInterface) Update(ctx context.Context, cfg *v2.ChangefeedConfig, namespace, name string) (*v2.ChangeFeedInfo, error)
- func (m *MockChangefeedInterface) VerifyTable(ctx context.Context, cfg *v2.VerifyTableConfig) (*v2.Tables, error)
- type MockChangefeedInterfaceMockRecorder
- func (mr *MockChangefeedInterfaceMockRecorder) Create(ctx, cfg interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) Delete(ctx, namespace, name interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) Get(ctx, namespace, name interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) List(ctx, namespace, state interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) Pause(ctx, namespace, name interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) Resume(ctx, cfg, namespace, name interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) Update(ctx, cfg, namespace, name interface{}) *gomock.Call
- func (mr *MockChangefeedInterfaceMockRecorder) VerifyTable(ctx, cfg interface{}) *gomock.Call
- type MockChangefeedsGetter
- type MockChangefeedsGetterMockRecorder
- type MockProcessorInterface
- func (m *MockProcessorInterface) EXPECT() *MockProcessorInterfaceMockRecorder
- func (m *MockProcessorInterface) Get(ctx context.Context, namespace, changefeedID, captureID string) (*v2.ProcessorDetail, error)
- func (m *MockProcessorInterface) List(ctx context.Context) ([]v2.ProcessorCommonInfo, error)
- type MockProcessorInterfaceMockRecorder
- type MockProcessorsGetter
- type MockProcessorsGetterMockRecorder
- type MockStatusGetter
- type MockStatusGetterMockRecorder
- type MockStatusInterface
- type MockStatusInterfaceMockRecorder
- type MockTsoGetter
- type MockTsoGetterMockRecorder
- type MockTsoInterface
- type MockTsoInterfaceMockRecorder
- type MockUnsafeGetter
- type MockUnsafeGetterMockRecorder
- type MockUnsafeInterface
- func (m *MockUnsafeInterface) DeleteServiceGcSafePoint(ctx context.Context, config *v2.UpstreamConfig) error
- func (m *MockUnsafeInterface) EXPECT() *MockUnsafeInterfaceMockRecorder
- func (m *MockUnsafeInterface) Metadata(ctx context.Context) (*[]v2.EtcdData, error)
- func (m *MockUnsafeInterface) ResolveLock(ctx context.Context, req *v2.ResolveLockReq) error
- type MockUnsafeInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCaptureInterface ¶
type MockCaptureInterface struct {
// contains filtered or unexported fields
}
MockCaptureInterface is a mock of CaptureInterface interface.
func NewMockCaptureInterface ¶
func NewMockCaptureInterface(ctrl *gomock.Controller) *MockCaptureInterface
NewMockCaptureInterface creates a new mock instance.
func (*MockCaptureInterface) EXPECT ¶
func (m *MockCaptureInterface) EXPECT() *MockCaptureInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCaptureInterfaceMockRecorder ¶
type MockCaptureInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCaptureInterfaceMockRecorder is the mock recorder for MockCaptureInterface.
func (*MockCaptureInterfaceMockRecorder) List ¶
func (mr *MockCaptureInterfaceMockRecorder) List(ctx interface{}) *gomock.Call
List indicates an expected call of List.
type MockCapturesGetter ¶
type MockCapturesGetter struct {
// contains filtered or unexported fields
}
MockCapturesGetter is a mock of CapturesGetter interface.
func NewMockCapturesGetter ¶
func NewMockCapturesGetter(ctrl *gomock.Controller) *MockCapturesGetter
NewMockCapturesGetter creates a new mock instance.
func (*MockCapturesGetter) Captures ¶
func (m *MockCapturesGetter) Captures() v2.CaptureInterface
Captures mocks base method.
func (*MockCapturesGetter) EXPECT ¶
func (m *MockCapturesGetter) EXPECT() *MockCapturesGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCapturesGetterMockRecorder ¶
type MockCapturesGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockCapturesGetterMockRecorder is the mock recorder for MockCapturesGetter.
func (*MockCapturesGetterMockRecorder) Captures ¶
func (mr *MockCapturesGetterMockRecorder) Captures() *gomock.Call
Captures indicates an expected call of Captures.
type MockChangefeedInterface ¶
type MockChangefeedInterface struct {
// contains filtered or unexported fields
}
MockChangefeedInterface is a mock of ChangefeedInterface interface.
func NewMockChangefeedInterface ¶
func NewMockChangefeedInterface(ctrl *gomock.Controller) *MockChangefeedInterface
NewMockChangefeedInterface creates a new mock instance.
func (*MockChangefeedInterface) Create ¶
func (m *MockChangefeedInterface) Create(ctx context.Context, cfg *v2.ChangefeedConfig) (*v2.ChangeFeedInfo, error)
Create mocks base method.
func (*MockChangefeedInterface) Delete ¶
func (m *MockChangefeedInterface) Delete(ctx context.Context, namespace, name string) error
Delete mocks base method.
func (*MockChangefeedInterface) EXPECT ¶
func (m *MockChangefeedInterface) EXPECT() *MockChangefeedInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChangefeedInterface) Get ¶
func (m *MockChangefeedInterface) Get(ctx context.Context, namespace, name string) (*v2.ChangeFeedInfo, error)
Get mocks base method.
func (*MockChangefeedInterface) List ¶
func (m *MockChangefeedInterface) List(ctx context.Context, namespace, state string) ([]v2.ChangefeedCommonInfo, error)
List mocks base method.
func (*MockChangefeedInterface) Pause ¶
func (m *MockChangefeedInterface) Pause(ctx context.Context, namespace, name string) error
Pause mocks base method.
func (*MockChangefeedInterface) Resume ¶
func (m *MockChangefeedInterface) Resume(ctx context.Context, cfg *v2.ResumeChangefeedConfig, namespace, name string) error
Resume mocks base method.
func (*MockChangefeedInterface) Update ¶
func (m *MockChangefeedInterface) Update(ctx context.Context, cfg *v2.ChangefeedConfig, namespace, name string) (*v2.ChangeFeedInfo, error)
Update mocks base method.
func (*MockChangefeedInterface) VerifyTable ¶
func (m *MockChangefeedInterface) VerifyTable(ctx context.Context, cfg *v2.VerifyTableConfig) (*v2.Tables, error)
VerifyTable mocks base method.
type MockChangefeedInterfaceMockRecorder ¶
type MockChangefeedInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockChangefeedInterfaceMockRecorder is the mock recorder for MockChangefeedInterface.
func (*MockChangefeedInterfaceMockRecorder) Create ¶
func (mr *MockChangefeedInterfaceMockRecorder) Create(ctx, cfg interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockChangefeedInterfaceMockRecorder) Delete ¶
func (mr *MockChangefeedInterfaceMockRecorder) Delete(ctx, namespace, name interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockChangefeedInterfaceMockRecorder) Get ¶
func (mr *MockChangefeedInterfaceMockRecorder) Get(ctx, namespace, name interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockChangefeedInterfaceMockRecorder) List ¶
func (mr *MockChangefeedInterfaceMockRecorder) List(ctx, namespace, state interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockChangefeedInterfaceMockRecorder) Pause ¶
func (mr *MockChangefeedInterfaceMockRecorder) Pause(ctx, namespace, name interface{}) *gomock.Call
Pause indicates an expected call of Pause.
func (*MockChangefeedInterfaceMockRecorder) Resume ¶
func (mr *MockChangefeedInterfaceMockRecorder) Resume(ctx, cfg, namespace, name interface{}) *gomock.Call
Resume indicates an expected call of Resume.
func (*MockChangefeedInterfaceMockRecorder) Update ¶
func (mr *MockChangefeedInterfaceMockRecorder) Update(ctx, cfg, namespace, name interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockChangefeedInterfaceMockRecorder) VerifyTable ¶
func (mr *MockChangefeedInterfaceMockRecorder) VerifyTable(ctx, cfg interface{}) *gomock.Call
VerifyTable indicates an expected call of VerifyTable.
type MockChangefeedsGetter ¶
type MockChangefeedsGetter struct {
// contains filtered or unexported fields
}
MockChangefeedsGetter is a mock of ChangefeedsGetter interface.
func NewMockChangefeedsGetter ¶
func NewMockChangefeedsGetter(ctrl *gomock.Controller) *MockChangefeedsGetter
NewMockChangefeedsGetter creates a new mock instance.
func (*MockChangefeedsGetter) Changefeeds ¶
func (m *MockChangefeedsGetter) Changefeeds() v20.ChangefeedInterface
Changefeeds mocks base method.
func (*MockChangefeedsGetter) EXPECT ¶
func (m *MockChangefeedsGetter) EXPECT() *MockChangefeedsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChangefeedsGetterMockRecorder ¶
type MockChangefeedsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockChangefeedsGetterMockRecorder is the mock recorder for MockChangefeedsGetter.
func (*MockChangefeedsGetterMockRecorder) Changefeeds ¶
func (mr *MockChangefeedsGetterMockRecorder) Changefeeds() *gomock.Call
Changefeeds indicates an expected call of Changefeeds.
type MockProcessorInterface ¶
type MockProcessorInterface struct {
// contains filtered or unexported fields
}
MockProcessorInterface is a mock of ProcessorInterface interface.
func NewMockProcessorInterface ¶
func NewMockProcessorInterface(ctrl *gomock.Controller) *MockProcessorInterface
NewMockProcessorInterface creates a new mock instance.
func (*MockProcessorInterface) EXPECT ¶
func (m *MockProcessorInterface) EXPECT() *MockProcessorInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProcessorInterface) Get ¶
func (m *MockProcessorInterface) Get(ctx context.Context, namespace, changefeedID, captureID string) (*v2.ProcessorDetail, error)
Get mocks base method.
func (*MockProcessorInterface) List ¶
func (m *MockProcessorInterface) List(ctx context.Context) ([]v2.ProcessorCommonInfo, error)
List mocks base method.
type MockProcessorInterfaceMockRecorder ¶
type MockProcessorInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessorInterfaceMockRecorder is the mock recorder for MockProcessorInterface.
func (*MockProcessorInterfaceMockRecorder) Get ¶
func (mr *MockProcessorInterfaceMockRecorder) Get(ctx, namespace, changefeedID, captureID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockProcessorInterfaceMockRecorder) List ¶
func (mr *MockProcessorInterfaceMockRecorder) List(ctx interface{}) *gomock.Call
List indicates an expected call of List.
type MockProcessorsGetter ¶
type MockProcessorsGetter struct {
// contains filtered or unexported fields
}
MockProcessorsGetter is a mock of ProcessorsGetter interface.
func NewMockProcessorsGetter ¶
func NewMockProcessorsGetter(ctrl *gomock.Controller) *MockProcessorsGetter
NewMockProcessorsGetter creates a new mock instance.
func (*MockProcessorsGetter) EXPECT ¶
func (m *MockProcessorsGetter) EXPECT() *MockProcessorsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProcessorsGetter) Processors ¶
func (m *MockProcessorsGetter) Processors() v20.ProcessorInterface
Processors mocks base method.
type MockProcessorsGetterMockRecorder ¶
type MockProcessorsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessorsGetterMockRecorder is the mock recorder for MockProcessorsGetter.
func (*MockProcessorsGetterMockRecorder) Processors ¶
func (mr *MockProcessorsGetterMockRecorder) Processors() *gomock.Call
Processors indicates an expected call of Processors.
type MockStatusGetter ¶
type MockStatusGetter struct {
// contains filtered or unexported fields
}
MockStatusGetter is a mock of StatusGetter interface.
func NewMockStatusGetter ¶
func NewMockStatusGetter(ctrl *gomock.Controller) *MockStatusGetter
NewMockStatusGetter creates a new mock instance.
func (*MockStatusGetter) EXPECT ¶
func (m *MockStatusGetter) EXPECT() *MockStatusGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusGetter) Status ¶
func (m *MockStatusGetter) Status() v2.StatusInterface
Status mocks base method.
type MockStatusGetterMockRecorder ¶
type MockStatusGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusGetterMockRecorder is the mock recorder for MockStatusGetter.
func (*MockStatusGetterMockRecorder) Status ¶
func (mr *MockStatusGetterMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
type MockStatusInterface ¶
type MockStatusInterface struct {
// contains filtered or unexported fields
}
MockStatusInterface is a mock of StatusInterface interface.
func NewMockStatusInterface ¶
func NewMockStatusInterface(ctrl *gomock.Controller) *MockStatusInterface
NewMockStatusInterface creates a new mock instance.
func (*MockStatusInterface) EXPECT ¶
func (m *MockStatusInterface) EXPECT() *MockStatusInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusInterface) Get ¶
func (m *MockStatusInterface) Get(ctx context.Context) (*model.ServerStatus, error)
Get mocks base method.
type MockStatusInterfaceMockRecorder ¶
type MockStatusInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusInterfaceMockRecorder is the mock recorder for MockStatusInterface.
func (*MockStatusInterfaceMockRecorder) Get ¶
func (mr *MockStatusInterfaceMockRecorder) Get(ctx interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockTsoGetter ¶
type MockTsoGetter struct {
// contains filtered or unexported fields
}
MockTsoGetter is a mock of TsoGetter interface.
func NewMockTsoGetter ¶
func NewMockTsoGetter(ctrl *gomock.Controller) *MockTsoGetter
NewMockTsoGetter creates a new mock instance.
func (*MockTsoGetter) EXPECT ¶
func (m *MockTsoGetter) EXPECT() *MockTsoGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTsoGetterMockRecorder ¶
type MockTsoGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockTsoGetterMockRecorder is the mock recorder for MockTsoGetter.
func (*MockTsoGetterMockRecorder) Tso ¶
func (mr *MockTsoGetterMockRecorder) Tso() *gomock.Call
Tso indicates an expected call of Tso.
type MockTsoInterface ¶
type MockTsoInterface struct {
// contains filtered or unexported fields
}
MockTsoInterface is a mock of TsoInterface interface.
func NewMockTsoInterface ¶
func NewMockTsoInterface(ctrl *gomock.Controller) *MockTsoInterface
NewMockTsoInterface creates a new mock instance.
func (*MockTsoInterface) EXPECT ¶
func (m *MockTsoInterface) EXPECT() *MockTsoInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTsoInterface) Query ¶
func (m *MockTsoInterface) Query(ctx context.Context, config *v2.UpstreamConfig) (*v2.Tso, error)
Query mocks base method.
type MockTsoInterfaceMockRecorder ¶
type MockTsoInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockTsoInterfaceMockRecorder is the mock recorder for MockTsoInterface.
func (*MockTsoInterfaceMockRecorder) Query ¶
func (mr *MockTsoInterfaceMockRecorder) Query(ctx, config interface{}) *gomock.Call
Query indicates an expected call of Query.
type MockUnsafeGetter ¶
type MockUnsafeGetter struct {
// contains filtered or unexported fields
}
MockUnsafeGetter is a mock of UnsafeGetter interface.
func NewMockUnsafeGetter ¶
func NewMockUnsafeGetter(ctrl *gomock.Controller) *MockUnsafeGetter
NewMockUnsafeGetter creates a new mock instance.
func (*MockUnsafeGetter) EXPECT ¶
func (m *MockUnsafeGetter) EXPECT() *MockUnsafeGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnsafeGetter) Unsafe ¶
func (m *MockUnsafeGetter) Unsafe() v20.UnsafeInterface
Unsafe mocks base method.
type MockUnsafeGetterMockRecorder ¶
type MockUnsafeGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeGetterMockRecorder is the mock recorder for MockUnsafeGetter.
func (*MockUnsafeGetterMockRecorder) Unsafe ¶
func (mr *MockUnsafeGetterMockRecorder) Unsafe() *gomock.Call
Unsafe indicates an expected call of Unsafe.
type MockUnsafeInterface ¶
type MockUnsafeInterface struct {
// contains filtered or unexported fields
}
MockUnsafeInterface is a mock of UnsafeInterface interface.
func NewMockUnsafeInterface ¶
func NewMockUnsafeInterface(ctrl *gomock.Controller) *MockUnsafeInterface
NewMockUnsafeInterface creates a new mock instance.
func (*MockUnsafeInterface) DeleteServiceGcSafePoint ¶
func (m *MockUnsafeInterface) DeleteServiceGcSafePoint(ctx context.Context, config *v2.UpstreamConfig) error
DeleteServiceGcSafePoint mocks base method.
func (*MockUnsafeInterface) EXPECT ¶
func (m *MockUnsafeInterface) EXPECT() *MockUnsafeInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUnsafeInterface) ResolveLock ¶
func (m *MockUnsafeInterface) ResolveLock(ctx context.Context, req *v2.ResolveLockReq) error
ResolveLock mocks base method.
type MockUnsafeInterfaceMockRecorder ¶
type MockUnsafeInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeInterfaceMockRecorder is the mock recorder for MockUnsafeInterface.
func (*MockUnsafeInterfaceMockRecorder) DeleteServiceGcSafePoint ¶
func (mr *MockUnsafeInterfaceMockRecorder) DeleteServiceGcSafePoint(ctx, config interface{}) *gomock.Call
DeleteServiceGcSafePoint indicates an expected call of DeleteServiceGcSafePoint.
func (*MockUnsafeInterfaceMockRecorder) Metadata ¶
func (mr *MockUnsafeInterfaceMockRecorder) Metadata(ctx interface{}) *gomock.Call
Metadata indicates an expected call of Metadata.
func (*MockUnsafeInterfaceMockRecorder) ResolveLock ¶
func (mr *MockUnsafeInterfaceMockRecorder) ResolveLock(ctx, req interface{}) *gomock.Call
ResolveLock indicates an expected call of ResolveLock.