mocks

package
v0.0.0-...-183a7cc Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) Delete

func (m *MockClientInterface) Delete(ctx context.Context, pk, sk string, opts ...ddb.Option) error

Delete mocks base method.

func (*MockClientInterface) EXPECT

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

func (*MockClientInterface) Get

func (m *MockClientInterface) Get(ctx context.Context, pk, sk string, out any) error

Get mocks base method.

func (*MockClientInterface) Put

func (m *MockClientInterface) Put(ctx context.Context, row any, opts ...ddb.Option) error

Put mocks base method.

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.

func (*MockClientInterface) Update

func (m *MockClientInterface) Update(ctx context.Context, pk, sk string, opts ...ddb.Option) error

Update 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) Delete

func (m *MockDeleter) Delete(ctx context.Context, pk, sk string, opts ...ddb.Option) error

Delete mocks base method.

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.

func (*MockGetter) Get

func (m *MockGetter) Get(ctx context.Context, pk, sk string, out any) error

Get mocks base method.

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.

func (*MockPutter) Put

func (m *MockPutter) Put(ctx context.Context, row any, opts ...ddb.Option) error

Put mocks base method.

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.

func (*MockQueryer) Query

func (m *MockQueryer) Query(ctx context.Context, keyCond ddb.KeyCondition, out any, opts ...ddb.Option) error

Query mocks base method.

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

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.

func (*MockUpdater) Update

func (m *MockUpdater) Update(ctx context.Context, pk, sk string, opts ...ddb.Option) error

Update mocks base method.

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.

Jump to

Keyboard shortcuts

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