pbmock

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package pbmock is a generated GoMock package.

Package pbmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMasterClient

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

MockMasterClient is a mock of MasterClient interface

func NewMockMasterClient

func NewMockMasterClient(ctrl *gomock.Controller) *MockMasterClient

NewMockMasterClient creates a new mock instance

func (*MockMasterClient) BreakWorkerDDLLock

BreakWorkerDDLLock mocks base method

func (*MockMasterClient) CheckTask

CheckTask mocks base method

func (*MockMasterClient) EXPECT

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

func (*MockMasterClient) HandleSQLs

HandleSQLs mocks base method

func (*MockMasterClient) MigrateWorkerRelay

MigrateWorkerRelay mocks base method

func (*MockMasterClient) OperateTask

OperateTask mocks base method

func (*MockMasterClient) OperateWorkerRelayTask

OperateWorkerRelayTask mocks base method

func (*MockMasterClient) PurgeWorkerRelay

PurgeWorkerRelay mocks base method

func (*MockMasterClient) QueryError

QueryError mocks base method

func (*MockMasterClient) QueryStatus

QueryStatus mocks base method

func (*MockMasterClient) RefreshWorkerTasks

RefreshWorkerTasks mocks base method

func (*MockMasterClient) ShowDDLLocks

ShowDDLLocks mocks base method

func (*MockMasterClient) StartTask

StartTask mocks base method

func (*MockMasterClient) SwitchWorkerRelayMaster

SwitchWorkerRelayMaster mocks base method

func (*MockMasterClient) UnlockDDLLock

UnlockDDLLock mocks base method

func (*MockMasterClient) UpdateMasterConfig

UpdateMasterConfig mocks base method

func (*MockMasterClient) UpdateTask

UpdateTask mocks base method

func (*MockMasterClient) UpdateWorkerRelayConfig

UpdateWorkerRelayConfig mocks base method

type MockMasterClientMockRecorder

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

MockMasterClientMockRecorder is the mock recorder for MockMasterClient

func (*MockMasterClientMockRecorder) BreakWorkerDDLLock

func (mr *MockMasterClientMockRecorder) BreakWorkerDDLLock(ctx, in interface{}, opts ...interface{}) *gomock.Call

BreakWorkerDDLLock indicates an expected call of BreakWorkerDDLLock

func (*MockMasterClientMockRecorder) CheckTask

func (mr *MockMasterClientMockRecorder) CheckTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

CheckTask indicates an expected call of CheckTask

func (*MockMasterClientMockRecorder) HandleSQLs

func (mr *MockMasterClientMockRecorder) HandleSQLs(ctx, in interface{}, opts ...interface{}) *gomock.Call

HandleSQLs indicates an expected call of HandleSQLs

func (*MockMasterClientMockRecorder) MigrateWorkerRelay

func (mr *MockMasterClientMockRecorder) MigrateWorkerRelay(ctx, in interface{}, opts ...interface{}) *gomock.Call

MigrateWorkerRelay indicates an expected call of MigrateWorkerRelay

func (*MockMasterClientMockRecorder) OperateTask

func (mr *MockMasterClientMockRecorder) OperateTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

OperateTask indicates an expected call of OperateTask

func (*MockMasterClientMockRecorder) OperateWorkerRelayTask

func (mr *MockMasterClientMockRecorder) OperateWorkerRelayTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

OperateWorkerRelayTask indicates an expected call of OperateWorkerRelayTask

func (*MockMasterClientMockRecorder) PurgeWorkerRelay

func (mr *MockMasterClientMockRecorder) PurgeWorkerRelay(ctx, in interface{}, opts ...interface{}) *gomock.Call

PurgeWorkerRelay indicates an expected call of PurgeWorkerRelay

func (*MockMasterClientMockRecorder) QueryError

func (mr *MockMasterClientMockRecorder) QueryError(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryError indicates an expected call of QueryError

func (*MockMasterClientMockRecorder) QueryStatus

func (mr *MockMasterClientMockRecorder) QueryStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryStatus indicates an expected call of QueryStatus

func (*MockMasterClientMockRecorder) RefreshWorkerTasks

func (mr *MockMasterClientMockRecorder) RefreshWorkerTasks(ctx, in interface{}, opts ...interface{}) *gomock.Call

RefreshWorkerTasks indicates an expected call of RefreshWorkerTasks

func (*MockMasterClientMockRecorder) ShowDDLLocks

func (mr *MockMasterClientMockRecorder) ShowDDLLocks(ctx, in interface{}, opts ...interface{}) *gomock.Call

ShowDDLLocks indicates an expected call of ShowDDLLocks

func (*MockMasterClientMockRecorder) StartTask

func (mr *MockMasterClientMockRecorder) StartTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

StartTask indicates an expected call of StartTask

func (*MockMasterClientMockRecorder) SwitchWorkerRelayMaster

func (mr *MockMasterClientMockRecorder) SwitchWorkerRelayMaster(ctx, in interface{}, opts ...interface{}) *gomock.Call

SwitchWorkerRelayMaster indicates an expected call of SwitchWorkerRelayMaster

func (*MockMasterClientMockRecorder) UnlockDDLLock

func (mr *MockMasterClientMockRecorder) UnlockDDLLock(ctx, in interface{}, opts ...interface{}) *gomock.Call

UnlockDDLLock indicates an expected call of UnlockDDLLock

func (*MockMasterClientMockRecorder) UpdateMasterConfig

func (mr *MockMasterClientMockRecorder) UpdateMasterConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateMasterConfig indicates an expected call of UpdateMasterConfig

func (*MockMasterClientMockRecorder) UpdateTask

func (mr *MockMasterClientMockRecorder) UpdateTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateTask indicates an expected call of UpdateTask

func (*MockMasterClientMockRecorder) UpdateWorkerRelayConfig

func (mr *MockMasterClientMockRecorder) UpdateWorkerRelayConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateWorkerRelayConfig indicates an expected call of UpdateWorkerRelayConfig

type MockMasterServer

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

MockMasterServer is a mock of MasterServer interface

func NewMockMasterServer

func NewMockMasterServer(ctrl *gomock.Controller) *MockMasterServer

NewMockMasterServer creates a new mock instance

func (*MockMasterServer) BreakWorkerDDLLock

BreakWorkerDDLLock mocks base method

func (*MockMasterServer) CheckTask

CheckTask mocks base method

func (*MockMasterServer) EXPECT

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

func (*MockMasterServer) HandleSQLs

HandleSQLs mocks base method

func (*MockMasterServer) MigrateWorkerRelay

MigrateWorkerRelay mocks base method

func (*MockMasterServer) OperateTask

OperateTask mocks base method

func (*MockMasterServer) OperateWorkerRelayTask

OperateWorkerRelayTask mocks base method

func (*MockMasterServer) PurgeWorkerRelay

PurgeWorkerRelay mocks base method

func (*MockMasterServer) QueryError

QueryError mocks base method

func (*MockMasterServer) QueryStatus

QueryStatus mocks base method

func (*MockMasterServer) RefreshWorkerTasks

RefreshWorkerTasks mocks base method

func (*MockMasterServer) ShowDDLLocks

ShowDDLLocks mocks base method

func (*MockMasterServer) StartTask

StartTask mocks base method

func (*MockMasterServer) SwitchWorkerRelayMaster

SwitchWorkerRelayMaster mocks base method

func (*MockMasterServer) UnlockDDLLock

UnlockDDLLock mocks base method

func (*MockMasterServer) UpdateMasterConfig

UpdateMasterConfig mocks base method

func (*MockMasterServer) UpdateTask

UpdateTask mocks base method

func (*MockMasterServer) UpdateWorkerRelayConfig

func (m *MockMasterServer) UpdateWorkerRelayConfig(arg0 context.Context, arg1 *pb.UpdateWorkerRelayConfigRequest) (*pb.CommonWorkerResponse, error)

UpdateWorkerRelayConfig mocks base method

type MockMasterServerMockRecorder

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

MockMasterServerMockRecorder is the mock recorder for MockMasterServer

func (*MockMasterServerMockRecorder) BreakWorkerDDLLock

func (mr *MockMasterServerMockRecorder) BreakWorkerDDLLock(arg0, arg1 interface{}) *gomock.Call

BreakWorkerDDLLock indicates an expected call of BreakWorkerDDLLock

func (*MockMasterServerMockRecorder) CheckTask

func (mr *MockMasterServerMockRecorder) CheckTask(arg0, arg1 interface{}) *gomock.Call

CheckTask indicates an expected call of CheckTask

func (*MockMasterServerMockRecorder) HandleSQLs

func (mr *MockMasterServerMockRecorder) HandleSQLs(arg0, arg1 interface{}) *gomock.Call

HandleSQLs indicates an expected call of HandleSQLs

func (*MockMasterServerMockRecorder) MigrateWorkerRelay

func (mr *MockMasterServerMockRecorder) MigrateWorkerRelay(arg0, arg1 interface{}) *gomock.Call

MigrateWorkerRelay indicates an expected call of MigrateWorkerRelay

func (*MockMasterServerMockRecorder) OperateTask

func (mr *MockMasterServerMockRecorder) OperateTask(arg0, arg1 interface{}) *gomock.Call

OperateTask indicates an expected call of OperateTask

func (*MockMasterServerMockRecorder) OperateWorkerRelayTask

func (mr *MockMasterServerMockRecorder) OperateWorkerRelayTask(arg0, arg1 interface{}) *gomock.Call

OperateWorkerRelayTask indicates an expected call of OperateWorkerRelayTask

func (*MockMasterServerMockRecorder) PurgeWorkerRelay

func (mr *MockMasterServerMockRecorder) PurgeWorkerRelay(arg0, arg1 interface{}) *gomock.Call

PurgeWorkerRelay indicates an expected call of PurgeWorkerRelay

func (*MockMasterServerMockRecorder) QueryError

func (mr *MockMasterServerMockRecorder) QueryError(arg0, arg1 interface{}) *gomock.Call

QueryError indicates an expected call of QueryError

func (*MockMasterServerMockRecorder) QueryStatus

func (mr *MockMasterServerMockRecorder) QueryStatus(arg0, arg1 interface{}) *gomock.Call

QueryStatus indicates an expected call of QueryStatus

func (*MockMasterServerMockRecorder) RefreshWorkerTasks

func (mr *MockMasterServerMockRecorder) RefreshWorkerTasks(arg0, arg1 interface{}) *gomock.Call

RefreshWorkerTasks indicates an expected call of RefreshWorkerTasks

func (*MockMasterServerMockRecorder) ShowDDLLocks

func (mr *MockMasterServerMockRecorder) ShowDDLLocks(arg0, arg1 interface{}) *gomock.Call

ShowDDLLocks indicates an expected call of ShowDDLLocks

func (*MockMasterServerMockRecorder) StartTask

func (mr *MockMasterServerMockRecorder) StartTask(arg0, arg1 interface{}) *gomock.Call

StartTask indicates an expected call of StartTask

func (*MockMasterServerMockRecorder) SwitchWorkerRelayMaster

func (mr *MockMasterServerMockRecorder) SwitchWorkerRelayMaster(arg0, arg1 interface{}) *gomock.Call

SwitchWorkerRelayMaster indicates an expected call of SwitchWorkerRelayMaster

func (*MockMasterServerMockRecorder) UnlockDDLLock

func (mr *MockMasterServerMockRecorder) UnlockDDLLock(arg0, arg1 interface{}) *gomock.Call

UnlockDDLLock indicates an expected call of UnlockDDLLock

func (*MockMasterServerMockRecorder) UpdateMasterConfig

func (mr *MockMasterServerMockRecorder) UpdateMasterConfig(arg0, arg1 interface{}) *gomock.Call

UpdateMasterConfig indicates an expected call of UpdateMasterConfig

func (*MockMasterServerMockRecorder) UpdateTask

func (mr *MockMasterServerMockRecorder) UpdateTask(arg0, arg1 interface{}) *gomock.Call

UpdateTask indicates an expected call of UpdateTask

func (*MockMasterServerMockRecorder) UpdateWorkerRelayConfig

func (mr *MockMasterServerMockRecorder) UpdateWorkerRelayConfig(arg0, arg1 interface{}) *gomock.Call

UpdateWorkerRelayConfig indicates an expected call of UpdateWorkerRelayConfig

type MockWorkerClient

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

MockWorkerClient is a mock of WorkerClient interface

func NewMockWorkerClient

func NewMockWorkerClient(ctrl *gomock.Controller) *MockWorkerClient

NewMockWorkerClient creates a new mock instance

func (*MockWorkerClient) BreakDDLLock

BreakDDLLock mocks base method

func (*MockWorkerClient) EXPECT

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

func (*MockWorkerClient) ExecuteDDL

ExecuteDDL mocks base method

func (*MockWorkerClient) FetchDDLInfo

FetchDDLInfo mocks base method

func (*MockWorkerClient) HandleSQLs

HandleSQLs mocks base method

func (*MockWorkerClient) MigrateRelay

MigrateRelay mocks base method

func (*MockWorkerClient) OperateRelay

OperateRelay mocks base method

func (*MockWorkerClient) OperateSubTask

OperateSubTask mocks base method

func (*MockWorkerClient) PurgeRelay

PurgeRelay mocks base method

func (*MockWorkerClient) QueryError

QueryError mocks base method

func (*MockWorkerClient) QueryStatus

QueryStatus mocks base method

func (*MockWorkerClient) QueryTaskOperation

QueryTaskOperation mocks base method

func (*MockWorkerClient) QueryWorkerConfig

QueryWorkerConfig mocks base method

func (*MockWorkerClient) StartSubTask

StartSubTask mocks base method

func (*MockWorkerClient) SwitchRelayMaster

SwitchRelayMaster mocks base method

func (*MockWorkerClient) UpdateRelayConfig

func (m *MockWorkerClient) UpdateRelayConfig(ctx context.Context, in *pb.UpdateRelayRequest, opts ...grpc.CallOption) (*pb.CommonWorkerResponse, error)

UpdateRelayConfig mocks base method

func (*MockWorkerClient) UpdateSubTask

UpdateSubTask mocks base method

type MockWorkerClientMockRecorder

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

MockWorkerClientMockRecorder is the mock recorder for MockWorkerClient

func (*MockWorkerClientMockRecorder) BreakDDLLock

func (mr *MockWorkerClientMockRecorder) BreakDDLLock(ctx, in interface{}, opts ...interface{}) *gomock.Call

BreakDDLLock indicates an expected call of BreakDDLLock

func (*MockWorkerClientMockRecorder) ExecuteDDL

func (mr *MockWorkerClientMockRecorder) ExecuteDDL(ctx, in interface{}, opts ...interface{}) *gomock.Call

ExecuteDDL indicates an expected call of ExecuteDDL

func (*MockWorkerClientMockRecorder) FetchDDLInfo

func (mr *MockWorkerClientMockRecorder) FetchDDLInfo(ctx interface{}, opts ...interface{}) *gomock.Call

FetchDDLInfo indicates an expected call of FetchDDLInfo

func (*MockWorkerClientMockRecorder) HandleSQLs

func (mr *MockWorkerClientMockRecorder) HandleSQLs(ctx, in interface{}, opts ...interface{}) *gomock.Call

HandleSQLs indicates an expected call of HandleSQLs

func (*MockWorkerClientMockRecorder) MigrateRelay

func (mr *MockWorkerClientMockRecorder) MigrateRelay(ctx, in interface{}, opts ...interface{}) *gomock.Call

MigrateRelay indicates an expected call of MigrateRelay

func (*MockWorkerClientMockRecorder) OperateRelay

func (mr *MockWorkerClientMockRecorder) OperateRelay(ctx, in interface{}, opts ...interface{}) *gomock.Call

OperateRelay indicates an expected call of OperateRelay

func (*MockWorkerClientMockRecorder) OperateSubTask

func (mr *MockWorkerClientMockRecorder) OperateSubTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

OperateSubTask indicates an expected call of OperateSubTask

func (*MockWorkerClientMockRecorder) PurgeRelay

func (mr *MockWorkerClientMockRecorder) PurgeRelay(ctx, in interface{}, opts ...interface{}) *gomock.Call

PurgeRelay indicates an expected call of PurgeRelay

func (*MockWorkerClientMockRecorder) QueryError

func (mr *MockWorkerClientMockRecorder) QueryError(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryError indicates an expected call of QueryError

func (*MockWorkerClientMockRecorder) QueryStatus

func (mr *MockWorkerClientMockRecorder) QueryStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryStatus indicates an expected call of QueryStatus

func (*MockWorkerClientMockRecorder) QueryTaskOperation

func (mr *MockWorkerClientMockRecorder) QueryTaskOperation(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryTaskOperation indicates an expected call of QueryTaskOperation

func (*MockWorkerClientMockRecorder) QueryWorkerConfig

func (mr *MockWorkerClientMockRecorder) QueryWorkerConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call

QueryWorkerConfig indicates an expected call of QueryWorkerConfig

func (*MockWorkerClientMockRecorder) StartSubTask

func (mr *MockWorkerClientMockRecorder) StartSubTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

StartSubTask indicates an expected call of StartSubTask

func (*MockWorkerClientMockRecorder) SwitchRelayMaster

func (mr *MockWorkerClientMockRecorder) SwitchRelayMaster(ctx, in interface{}, opts ...interface{}) *gomock.Call

SwitchRelayMaster indicates an expected call of SwitchRelayMaster

func (*MockWorkerClientMockRecorder) UpdateRelayConfig

func (mr *MockWorkerClientMockRecorder) UpdateRelayConfig(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateRelayConfig indicates an expected call of UpdateRelayConfig

func (*MockWorkerClientMockRecorder) UpdateSubTask

func (mr *MockWorkerClientMockRecorder) UpdateSubTask(ctx, in interface{}, opts ...interface{}) *gomock.Call

UpdateSubTask indicates an expected call of UpdateSubTask

type MockWorkerServer

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

MockWorkerServer is a mock of WorkerServer interface

func NewMockWorkerServer

func NewMockWorkerServer(ctrl *gomock.Controller) *MockWorkerServer

NewMockWorkerServer creates a new mock instance

func (*MockWorkerServer) BreakDDLLock

BreakDDLLock mocks base method

func (*MockWorkerServer) EXPECT

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

func (*MockWorkerServer) ExecuteDDL

ExecuteDDL mocks base method

func (*MockWorkerServer) FetchDDLInfo

func (m *MockWorkerServer) FetchDDLInfo(arg0 pb.Worker_FetchDDLInfoServer) error

FetchDDLInfo mocks base method

func (*MockWorkerServer) HandleSQLs

HandleSQLs mocks base method

func (*MockWorkerServer) MigrateRelay

MigrateRelay mocks base method

func (*MockWorkerServer) OperateRelay

OperateRelay mocks base method

func (*MockWorkerServer) OperateSubTask

OperateSubTask mocks base method

func (*MockWorkerServer) PurgeRelay

PurgeRelay mocks base method

func (*MockWorkerServer) QueryError

QueryError mocks base method

func (*MockWorkerServer) QueryStatus

QueryStatus mocks base method

func (*MockWorkerServer) QueryTaskOperation

QueryTaskOperation mocks base method

func (*MockWorkerServer) QueryWorkerConfig

QueryWorkerConfig mocks base method

func (*MockWorkerServer) StartSubTask

StartSubTask mocks base method

func (*MockWorkerServer) SwitchRelayMaster

SwitchRelayMaster mocks base method

func (*MockWorkerServer) UpdateRelayConfig

func (m *MockWorkerServer) UpdateRelayConfig(arg0 context.Context, arg1 *pb.UpdateRelayRequest) (*pb.CommonWorkerResponse, error)

UpdateRelayConfig mocks base method

func (*MockWorkerServer) UpdateSubTask

UpdateSubTask mocks base method

type MockWorkerServerMockRecorder

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

MockWorkerServerMockRecorder is the mock recorder for MockWorkerServer

func (*MockWorkerServerMockRecorder) BreakDDLLock

func (mr *MockWorkerServerMockRecorder) BreakDDLLock(arg0, arg1 interface{}) *gomock.Call

BreakDDLLock indicates an expected call of BreakDDLLock

func (*MockWorkerServerMockRecorder) ExecuteDDL

func (mr *MockWorkerServerMockRecorder) ExecuteDDL(arg0, arg1 interface{}) *gomock.Call

ExecuteDDL indicates an expected call of ExecuteDDL

func (*MockWorkerServerMockRecorder) FetchDDLInfo

func (mr *MockWorkerServerMockRecorder) FetchDDLInfo(arg0 interface{}) *gomock.Call

FetchDDLInfo indicates an expected call of FetchDDLInfo

func (*MockWorkerServerMockRecorder) HandleSQLs

func (mr *MockWorkerServerMockRecorder) HandleSQLs(arg0, arg1 interface{}) *gomock.Call

HandleSQLs indicates an expected call of HandleSQLs

func (*MockWorkerServerMockRecorder) MigrateRelay

func (mr *MockWorkerServerMockRecorder) MigrateRelay(arg0, arg1 interface{}) *gomock.Call

MigrateRelay indicates an expected call of MigrateRelay

func (*MockWorkerServerMockRecorder) OperateRelay

func (mr *MockWorkerServerMockRecorder) OperateRelay(arg0, arg1 interface{}) *gomock.Call

OperateRelay indicates an expected call of OperateRelay

func (*MockWorkerServerMockRecorder) OperateSubTask

func (mr *MockWorkerServerMockRecorder) OperateSubTask(arg0, arg1 interface{}) *gomock.Call

OperateSubTask indicates an expected call of OperateSubTask

func (*MockWorkerServerMockRecorder) PurgeRelay

func (mr *MockWorkerServerMockRecorder) PurgeRelay(arg0, arg1 interface{}) *gomock.Call

PurgeRelay indicates an expected call of PurgeRelay

func (*MockWorkerServerMockRecorder) QueryError

func (mr *MockWorkerServerMockRecorder) QueryError(arg0, arg1 interface{}) *gomock.Call

QueryError indicates an expected call of QueryError

func (*MockWorkerServerMockRecorder) QueryStatus

func (mr *MockWorkerServerMockRecorder) QueryStatus(arg0, arg1 interface{}) *gomock.Call

QueryStatus indicates an expected call of QueryStatus

func (*MockWorkerServerMockRecorder) QueryTaskOperation

func (mr *MockWorkerServerMockRecorder) QueryTaskOperation(arg0, arg1 interface{}) *gomock.Call

QueryTaskOperation indicates an expected call of QueryTaskOperation

func (*MockWorkerServerMockRecorder) QueryWorkerConfig

func (mr *MockWorkerServerMockRecorder) QueryWorkerConfig(arg0, arg1 interface{}) *gomock.Call

QueryWorkerConfig indicates an expected call of QueryWorkerConfig

func (*MockWorkerServerMockRecorder) StartSubTask

func (mr *MockWorkerServerMockRecorder) StartSubTask(arg0, arg1 interface{}) *gomock.Call

StartSubTask indicates an expected call of StartSubTask

func (*MockWorkerServerMockRecorder) SwitchRelayMaster

func (mr *MockWorkerServerMockRecorder) SwitchRelayMaster(arg0, arg1 interface{}) *gomock.Call

SwitchRelayMaster indicates an expected call of SwitchRelayMaster

func (*MockWorkerServerMockRecorder) UpdateRelayConfig

func (mr *MockWorkerServerMockRecorder) UpdateRelayConfig(arg0, arg1 interface{}) *gomock.Call

UpdateRelayConfig indicates an expected call of UpdateRelayConfig

func (*MockWorkerServerMockRecorder) UpdateSubTask

func (mr *MockWorkerServerMockRecorder) UpdateSubTask(arg0, arg1 interface{}) *gomock.Call

UpdateSubTask indicates an expected call of UpdateSubTask

type MockWorker_FetchDDLInfoClient

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

MockWorker_FetchDDLInfoClient is a mock of Worker_FetchDDLInfoClient interface

func NewMockWorker_FetchDDLInfoClient

func NewMockWorker_FetchDDLInfoClient(ctrl *gomock.Controller) *MockWorker_FetchDDLInfoClient

NewMockWorker_FetchDDLInfoClient creates a new mock instance

func (*MockWorker_FetchDDLInfoClient) CloseSend

func (m *MockWorker_FetchDDLInfoClient) CloseSend() error

CloseSend mocks base method

func (*MockWorker_FetchDDLInfoClient) Context

Context mocks base method

func (*MockWorker_FetchDDLInfoClient) EXPECT

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

func (*MockWorker_FetchDDLInfoClient) Header

Header mocks base method

func (*MockWorker_FetchDDLInfoClient) Recv

Recv mocks base method

func (*MockWorker_FetchDDLInfoClient) RecvMsg

func (m_2 *MockWorker_FetchDDLInfoClient) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockWorker_FetchDDLInfoClient) Send

Send mocks base method

func (*MockWorker_FetchDDLInfoClient) SendMsg

func (m_2 *MockWorker_FetchDDLInfoClient) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockWorker_FetchDDLInfoClient) Trailer

Trailer mocks base method

type MockWorker_FetchDDLInfoClientMockRecorder

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

MockWorker_FetchDDLInfoClientMockRecorder is the mock recorder for MockWorker_FetchDDLInfoClient

func (*MockWorker_FetchDDLInfoClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend

func (*MockWorker_FetchDDLInfoClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockWorker_FetchDDLInfoClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockWorker_FetchDDLInfoClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockWorker_FetchDDLInfoClientMockRecorder) RecvMsg

func (mr *MockWorker_FetchDDLInfoClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockWorker_FetchDDLInfoClientMockRecorder) Send

func (mr *MockWorker_FetchDDLInfoClientMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockWorker_FetchDDLInfoClientMockRecorder) SendMsg

func (mr *MockWorker_FetchDDLInfoClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockWorker_FetchDDLInfoClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockWorker_FetchDDLInfoServer

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

MockWorker_FetchDDLInfoServer is a mock of Worker_FetchDDLInfoServer interface

func NewMockWorker_FetchDDLInfoServer

func NewMockWorker_FetchDDLInfoServer(ctrl *gomock.Controller) *MockWorker_FetchDDLInfoServer

NewMockWorker_FetchDDLInfoServer creates a new mock instance

func (*MockWorker_FetchDDLInfoServer) Context

Context mocks base method

func (*MockWorker_FetchDDLInfoServer) EXPECT

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

func (*MockWorker_FetchDDLInfoServer) Recv

Recv mocks base method

func (*MockWorker_FetchDDLInfoServer) RecvMsg

func (m_2 *MockWorker_FetchDDLInfoServer) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockWorker_FetchDDLInfoServer) Send

Send mocks base method

func (*MockWorker_FetchDDLInfoServer) SendHeader

func (m *MockWorker_FetchDDLInfoServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method

func (*MockWorker_FetchDDLInfoServer) SendMsg

func (m_2 *MockWorker_FetchDDLInfoServer) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockWorker_FetchDDLInfoServer) SetHeader

func (m *MockWorker_FetchDDLInfoServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method

func (*MockWorker_FetchDDLInfoServer) SetTrailer

func (m *MockWorker_FetchDDLInfoServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method

type MockWorker_FetchDDLInfoServerMockRecorder

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

MockWorker_FetchDDLInfoServerMockRecorder is the mock recorder for MockWorker_FetchDDLInfoServer

func (*MockWorker_FetchDDLInfoServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockWorker_FetchDDLInfoServerMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockWorker_FetchDDLInfoServerMockRecorder) RecvMsg

func (mr *MockWorker_FetchDDLInfoServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockWorker_FetchDDLInfoServerMockRecorder) Send

func (mr *MockWorker_FetchDDLInfoServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockWorker_FetchDDLInfoServerMockRecorder) SendHeader

func (mr *MockWorker_FetchDDLInfoServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockWorker_FetchDDLInfoServerMockRecorder) SendMsg

func (mr *MockWorker_FetchDDLInfoServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockWorker_FetchDDLInfoServerMockRecorder) SetHeader

func (mr *MockWorker_FetchDDLInfoServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockWorker_FetchDDLInfoServerMockRecorder) SetTrailer

func (mr *MockWorker_FetchDDLInfoServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

type MockisSubTaskError_Error

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

MockisSubTaskError_Error is a mock of isSubTaskError_Error interface

func NewMockisSubTaskError_Error

func NewMockisSubTaskError_Error(ctrl *gomock.Controller) *MockisSubTaskError_Error

NewMockisSubTaskError_Error creates a new mock instance

func (*MockisSubTaskError_Error) EXPECT

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

func (*MockisSubTaskError_Error) MarshalTo

func (m *MockisSubTaskError_Error) MarshalTo(arg0 []byte) (int, error)

MarshalTo mocks base method

func (*MockisSubTaskError_Error) Size

func (m *MockisSubTaskError_Error) Size() int

Size mocks base method

type MockisSubTaskError_ErrorMockRecorder

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

MockisSubTaskError_ErrorMockRecorder is the mock recorder for MockisSubTaskError_Error

func (*MockisSubTaskError_ErrorMockRecorder) MarshalTo

func (mr *MockisSubTaskError_ErrorMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call

MarshalTo indicates an expected call of MarshalTo

func (*MockisSubTaskError_ErrorMockRecorder) Size

Size indicates an expected call of Size

type MockisSubTaskStatus_Status

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

MockisSubTaskStatus_Status is a mock of isSubTaskStatus_Status interface

func NewMockisSubTaskStatus_Status

func NewMockisSubTaskStatus_Status(ctrl *gomock.Controller) *MockisSubTaskStatus_Status

NewMockisSubTaskStatus_Status creates a new mock instance

func (*MockisSubTaskStatus_Status) EXPECT

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

func (*MockisSubTaskStatus_Status) MarshalTo

func (m *MockisSubTaskStatus_Status) MarshalTo(arg0 []byte) (int, error)

MarshalTo mocks base method

func (*MockisSubTaskStatus_Status) Size

func (m *MockisSubTaskStatus_Status) Size() int

Size mocks base method

type MockisSubTaskStatus_StatusMockRecorder

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

MockisSubTaskStatus_StatusMockRecorder is the mock recorder for MockisSubTaskStatus_Status

func (*MockisSubTaskStatus_StatusMockRecorder) MarshalTo

func (mr *MockisSubTaskStatus_StatusMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call

MarshalTo indicates an expected call of MarshalTo

func (*MockisSubTaskStatus_StatusMockRecorder) Size

Size indicates an expected call of Size

Jump to

Keyboard shortcuts

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