Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) Delete(ctx context.Context, pk, sk string, opts ...ddb.Option) error
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) Get(ctx context.Context, pk, sk string, out any) error
- func (m *MockClientInterface) Put(ctx context.Context, row any, opts ...ddb.Option) error
- func (m *MockClientInterface) Query(ctx context.Context, keyCond ddb.KeyCondition, out any, opts ...ddb.Option) error
- func (m *MockClientInterface) TransactPuts(ctx context.Context, token string, rows ...ddb.PutRow) error
- func (m *MockClientInterface) Update(ctx context.Context, pk, sk string, opts ...ddb.Option) error
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) Delete(ctx, pk, sk interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Get(ctx, pk, sk, out interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Put(ctx, row interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Query(ctx, keyCond, out interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) TransactPuts(ctx, token interface{}, rows ...interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Update(ctx, pk, sk interface{}, opts ...interface{}) *gomock.Call
- type MockDeleter
- type MockDeleterMockRecorder
- type MockGetter
- type MockGetterMockRecorder
- type MockPutter
- type MockPutterMockRecorder
- type MockQueryer
- type MockQueryerMockRecorder
- type MockTransactPutter
- type MockTransactPutterMockRecorder
- type MockUpdater
- type MockUpdaterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) Query ¶
func (m *MockClientInterface) Query(ctx context.Context, keyCond ddb.KeyCondition, out any, opts ...ddb.Option) error
Query mocks base method.
func (*MockClientInterface) TransactPuts ¶
func (m *MockClientInterface) TransactPuts(ctx context.Context, token string, rows ...ddb.PutRow) error
TransactPuts mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) Delete ¶
func (mr *MockClientInterfaceMockRecorder) Delete(ctx, pk, sk interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientInterfaceMockRecorder) Get ¶
func (mr *MockClientInterfaceMockRecorder) Get(ctx, pk, sk, out interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientInterfaceMockRecorder) Put ¶
func (mr *MockClientInterfaceMockRecorder) Put(ctx, row interface{}, opts ...interface{}) *gomock.Call
Put indicates an expected call of Put.
func (*MockClientInterfaceMockRecorder) Query ¶
func (mr *MockClientInterfaceMockRecorder) Query(ctx, keyCond, out interface{}, opts ...interface{}) *gomock.Call
Query indicates an expected call of Query.
func (*MockClientInterfaceMockRecorder) TransactPuts ¶
func (mr *MockClientInterfaceMockRecorder) TransactPuts(ctx, token interface{}, rows ...interface{}) *gomock.Call
TransactPuts indicates an expected call of TransactPuts.
func (*MockClientInterfaceMockRecorder) Update ¶
func (mr *MockClientInterfaceMockRecorder) Update(ctx, pk, sk interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockDeleter ¶
type MockDeleter struct {
// contains filtered or unexported fields
}
MockDeleter is a mock of Deleter interface.
func NewMockDeleter ¶
func NewMockDeleter(ctrl *gomock.Controller) *MockDeleter
NewMockDeleter creates a new mock instance.
func (*MockDeleter) EXPECT ¶
func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDeleterMockRecorder ¶
type MockDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockDeleterMockRecorder is the mock recorder for MockDeleter.
func (*MockDeleterMockRecorder) Delete ¶
func (mr *MockDeleterMockRecorder) Delete(ctx, pk, sk interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
type MockGetter ¶
type MockGetter struct {
// contains filtered or unexported fields
}
MockGetter is a mock of Getter interface.
func NewMockGetter ¶
func NewMockGetter(ctrl *gomock.Controller) *MockGetter
NewMockGetter creates a new mock instance.
func (*MockGetter) EXPECT ¶
func (m *MockGetter) EXPECT() *MockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGetterMockRecorder ¶
type MockGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockGetterMockRecorder is the mock recorder for MockGetter.
func (*MockGetterMockRecorder) Get ¶
func (mr *MockGetterMockRecorder) Get(ctx, pk, sk, out interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockPutter ¶
type MockPutter struct {
// contains filtered or unexported fields
}
MockPutter is a mock of Putter interface.
func NewMockPutter ¶
func NewMockPutter(ctrl *gomock.Controller) *MockPutter
NewMockPutter creates a new mock instance.
func (*MockPutter) EXPECT ¶
func (m *MockPutter) EXPECT() *MockPutterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPutterMockRecorder ¶
type MockPutterMockRecorder struct {
// contains filtered or unexported fields
}
MockPutterMockRecorder is the mock recorder for MockPutter.
func (*MockPutterMockRecorder) Put ¶
func (mr *MockPutterMockRecorder) Put(ctx, row interface{}, opts ...interface{}) *gomock.Call
Put indicates an expected call of Put.
type MockQueryer ¶
type MockQueryer struct {
// contains filtered or unexported fields
}
MockQueryer is a mock of Queryer interface.
func NewMockQueryer ¶
func NewMockQueryer(ctrl *gomock.Controller) *MockQueryer
NewMockQueryer creates a new mock instance.
func (*MockQueryer) EXPECT ¶
func (m *MockQueryer) EXPECT() *MockQueryerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockQueryerMockRecorder ¶
type MockQueryerMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryerMockRecorder is the mock recorder for MockQueryer.
func (*MockQueryerMockRecorder) Query ¶
func (mr *MockQueryerMockRecorder) Query(ctx, keyCond, out interface{}, opts ...interface{}) *gomock.Call
Query indicates an expected call of Query.
type MockTransactPutter ¶
type MockTransactPutter struct {
// contains filtered or unexported fields
}
MockTransactPutter is a mock of TransactPutter interface.
func NewMockTransactPutter ¶
func NewMockTransactPutter(ctrl *gomock.Controller) *MockTransactPutter
NewMockTransactPutter creates a new mock instance.
func (*MockTransactPutter) EXPECT ¶
func (m *MockTransactPutter) EXPECT() *MockTransactPutterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactPutter) TransactPuts ¶
func (m *MockTransactPutter) TransactPuts(ctx context.Context, token string, rows ...ddb.PutRow) error
TransactPuts mocks base method.
type MockTransactPutterMockRecorder ¶
type MockTransactPutterMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactPutterMockRecorder is the mock recorder for MockTransactPutter.
func (*MockTransactPutterMockRecorder) TransactPuts ¶
func (mr *MockTransactPutterMockRecorder) TransactPuts(ctx, token interface{}, rows ...interface{}) *gomock.Call
TransactPuts indicates an expected call of TransactPuts.
type MockUpdater ¶
type MockUpdater struct {
// contains filtered or unexported fields
}
MockUpdater is a mock of Updater interface.
func NewMockUpdater ¶
func NewMockUpdater(ctrl *gomock.Controller) *MockUpdater
NewMockUpdater creates a new mock instance.
func (*MockUpdater) EXPECT ¶
func (m *MockUpdater) EXPECT() *MockUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUpdaterMockRecorder ¶
type MockUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdaterMockRecorder is the mock recorder for MockUpdater.
func (*MockUpdaterMockRecorder) Update ¶
func (mr *MockUpdaterMockRecorder) Update(ctx, pk, sk interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.