mock_capture

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: 9 Imported by: 0

Documentation

Overview

Package mock_capture is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCapture

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

MockCapture is a mock of Capture interface.

func NewMockCapture

func NewMockCapture(ctrl *gomock.Controller) *MockCapture

NewMockCapture creates a new mock instance.

func (*MockCapture) Close

func (m *MockCapture) Close()

Close mocks base method.

func (*MockCapture) Drain

func (m *MockCapture) Drain() <-chan struct{}

Drain mocks base method.

func (*MockCapture) EXPECT

func (m *MockCapture) EXPECT() *MockCaptureMockRecorder

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

func (*MockCapture) GetController

func (m *MockCapture) GetController() (controller.Controller, error)

GetController mocks base method.

func (*MockCapture) GetControllerCaptureInfo

func (m *MockCapture) GetControllerCaptureInfo(ctx context.Context) (*model.CaptureInfo, error)

GetControllerCaptureInfo mocks base method.

func (*MockCapture) GetEtcdClient

func (m *MockCapture) GetEtcdClient() etcd.CDCEtcdClient

GetEtcdClient mocks base method.

func (*MockCapture) GetOwner

func (m *MockCapture) GetOwner() (owner.Owner, error)

GetOwner mocks base method.

func (*MockCapture) GetUpstreamInfo

func (m *MockCapture) GetUpstreamInfo(arg0 context.Context, arg1 model.UpstreamID, arg2 string) (*model.UpstreamInfo, error)

GetUpstreamInfo mocks base method.

func (*MockCapture) GetUpstreamManager

func (m *MockCapture) GetUpstreamManager() (*upstream.Manager, error)

GetUpstreamManager mocks base method.

func (*MockCapture) Info

func (m *MockCapture) Info() (model.CaptureInfo, error)

Info mocks base method.

func (*MockCapture) IsController

func (m *MockCapture) IsController() bool

IsController mocks base method.

func (*MockCapture) IsReady

func (m *MockCapture) IsReady() bool

IsReady mocks base method.

func (*MockCapture) Liveness

func (m *MockCapture) Liveness() model.Liveness

Liveness mocks base method.

func (*MockCapture) Run

func (m *MockCapture) Run(ctx context.Context) error

Run mocks base method.

func (*MockCapture) StatusProvider

func (m *MockCapture) StatusProvider() owner.StatusProvider

StatusProvider mocks base method.

func (*MockCapture) WriteDebugInfo

func (m *MockCapture) WriteDebugInfo(ctx context.Context, w io.Writer)

WriteDebugInfo mocks base method.

type MockCaptureMockRecorder

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

MockCaptureMockRecorder is the mock recorder for MockCapture.

func (*MockCaptureMockRecorder) Close

func (mr *MockCaptureMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockCaptureMockRecorder) Drain

func (mr *MockCaptureMockRecorder) Drain() *gomock.Call

Drain indicates an expected call of Drain.

func (*MockCaptureMockRecorder) GetController

func (mr *MockCaptureMockRecorder) GetController() *gomock.Call

GetController indicates an expected call of GetController.

func (*MockCaptureMockRecorder) GetControllerCaptureInfo

func (mr *MockCaptureMockRecorder) GetControllerCaptureInfo(ctx interface{}) *gomock.Call

GetControllerCaptureInfo indicates an expected call of GetControllerCaptureInfo.

func (*MockCaptureMockRecorder) GetEtcdClient

func (mr *MockCaptureMockRecorder) GetEtcdClient() *gomock.Call

GetEtcdClient indicates an expected call of GetEtcdClient.

func (*MockCaptureMockRecorder) GetOwner

func (mr *MockCaptureMockRecorder) GetOwner() *gomock.Call

GetOwner indicates an expected call of GetOwner.

func (*MockCaptureMockRecorder) GetUpstreamInfo

func (mr *MockCaptureMockRecorder) GetUpstreamInfo(arg0, arg1, arg2 interface{}) *gomock.Call

GetUpstreamInfo indicates an expected call of GetUpstreamInfo.

func (*MockCaptureMockRecorder) GetUpstreamManager

func (mr *MockCaptureMockRecorder) GetUpstreamManager() *gomock.Call

GetUpstreamManager indicates an expected call of GetUpstreamManager.

func (*MockCaptureMockRecorder) Info

func (mr *MockCaptureMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info.

func (*MockCaptureMockRecorder) IsController

func (mr *MockCaptureMockRecorder) IsController() *gomock.Call

IsController indicates an expected call of IsController.

func (*MockCaptureMockRecorder) IsReady

func (mr *MockCaptureMockRecorder) IsReady() *gomock.Call

IsReady indicates an expected call of IsReady.

func (*MockCaptureMockRecorder) Liveness

func (mr *MockCaptureMockRecorder) Liveness() *gomock.Call

Liveness indicates an expected call of Liveness.

func (*MockCaptureMockRecorder) Run

func (mr *MockCaptureMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockCaptureMockRecorder) StatusProvider

func (mr *MockCaptureMockRecorder) StatusProvider() *gomock.Call

StatusProvider indicates an expected call of StatusProvider.

func (*MockCaptureMockRecorder) WriteDebugInfo

func (mr *MockCaptureMockRecorder) WriteDebugInfo(ctx, w interface{}) *gomock.Call

WriteDebugInfo indicates an expected call of WriteDebugInfo.

Jump to

Keyboard shortcuts

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