Documentation ¶
Overview ¶
Package mock_userkv is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Clean(ctx context.Context, ccid string) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) Get(ctx context.Context, owner, key string) (string, error)
- func (m *MockRepository) Upsert(ctx context.Context, owner, key, value string) error
- type MockRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) Clean ¶
func (m *MockRepository) Clean(ctx context.Context, ccid string) error
Clean mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Clean ¶
func (mr *MockRepositoryMockRecorder) Clean(ctx, ccid any) *gomock.Call
Clean indicates an expected call of Clean.
Click to show internal directories.
Click to hide internal directories.