mock

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

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

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

func (*MockCaptureInterface) List

List mocks base method.

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

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

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

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

Changefeeds mocks base method.

func (*MockChangefeedsGetter) EXPECT

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

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

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

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

func (*MockProcessorsGetter) Processors

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

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

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

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

func (*MockStatusInterface) Get

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

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

func (*MockTsoGetter) Tso

func (m *MockTsoGetter) Tso() v20.TsoInterface

Tso mocks base method.

type MockTsoGetterMockRecorder

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

MockTsoGetterMockRecorder is the mock recorder for MockTsoGetter.

func (*MockTsoGetterMockRecorder) Tso

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

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

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

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

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

func (*MockUnsafeInterface) Metadata

func (m *MockUnsafeInterface) Metadata(ctx context.Context) (*[]v2.EtcdData, error)

Metadata mocks base method.

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.

Jump to

Keyboard shortcuts

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