Documentation
¶
Overview ¶
Package mocktarget is a generated GoMock package.
Index ¶
- type MockTarget
- func (m *MockTarget) AddSyncs(ctx context.Context, sps ...*config.SyncProtocol) error
- func (m *MockTarget) Close(ctx context.Context) error
- func (m *MockTarget) EXPECT() *MockTargetMockRecorder
- func (m *MockTarget) Get(ctx context.Context, req *sdcpb.GetDataRequest) (*sdcpb.GetDataResponse, error)
- func (m *MockTarget) Set(ctx context.Context, source types.TargetSource) (*sdcpb.SetDataResponse, error)
- func (m *MockTarget) Status() *types.TargetStatus
- type MockTargetMockRecorder
- func (mr *MockTargetMockRecorder) AddSyncs(ctx any, sps ...any) *gomock.Call
- func (mr *MockTargetMockRecorder) Close(ctx any) *gomock.Call
- func (mr *MockTargetMockRecorder) Get(ctx, req any) *gomock.Call
- func (mr *MockTargetMockRecorder) Set(ctx, source any) *gomock.Call
- func (mr *MockTargetMockRecorder) Status() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTarget ¶
type MockTarget struct {
// contains filtered or unexported fields
}
MockTarget is a mock of Target interface.
func NewMockTarget ¶
func NewMockTarget(ctrl *gomock.Controller) *MockTarget
NewMockTarget creates a new mock instance.
func (*MockTarget) AddSyncs ¶ added in v0.0.67
func (m *MockTarget) AddSyncs(ctx context.Context, sps ...*config.SyncProtocol) error
AddSyncs mocks base method.
func (*MockTarget) Close ¶
func (m *MockTarget) Close(ctx context.Context) error
Close mocks base method.
func (*MockTarget) EXPECT ¶
func (m *MockTarget) EXPECT() *MockTargetMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTarget) Get ¶
func (m *MockTarget) Get(ctx context.Context, req *sdcpb.GetDataRequest) (*sdcpb.GetDataResponse, error)
Get mocks base method.
func (*MockTarget) Set ¶
func (m *MockTarget) Set(ctx context.Context, source types.TargetSource) (*sdcpb.SetDataResponse, error)
Set mocks base method.
func (*MockTarget) Status ¶
func (m *MockTarget) Status() *types.TargetStatus
Status mocks base method.
type MockTargetMockRecorder ¶
type MockTargetMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetMockRecorder is the mock recorder for MockTarget.
func (*MockTargetMockRecorder) AddSyncs ¶ added in v0.0.67
func (mr *MockTargetMockRecorder) AddSyncs(ctx any, sps ...any) *gomock.Call
AddSyncs indicates an expected call of AddSyncs.
func (*MockTargetMockRecorder) Close ¶
func (mr *MockTargetMockRecorder) Close(ctx any) *gomock.Call
Close indicates an expected call of Close.
func (*MockTargetMockRecorder) Get ¶
func (mr *MockTargetMockRecorder) Get(ctx, req any) *gomock.Call
Get indicates an expected call of Get.
func (*MockTargetMockRecorder) Set ¶
func (mr *MockTargetMockRecorder) Set(ctx, source any) *gomock.Call
Set indicates an expected call of Set.
func (*MockTargetMockRecorder) Status ¶
func (mr *MockTargetMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status.
Click to show internal directories.
Click to hide internal directories.