Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Create(arg0 context.Context, arg1 string, arg2 *metadata.Metadata) error
- func (m *MockRepository) Delete(arg0 context.Context, arg1, arg2 string) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) FindByEntity(arg0 context.Context, arg1, arg2 string) (*metadata.Metadata, error)
- func (m *MockRepository) FindList(arg0 context.Context, arg1 string, arg2 any) ([]*metadata.Metadata, error)
- func (m *MockRepository) Update(arg0 context.Context, arg1, arg2 string, arg3 map[string]any) error
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) FindByEntity(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) FindList(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRepositoryMockRecorder) Update(arg0, arg1, arg2, arg3 any) *gomock.Call
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) Delete ¶
func (m *MockRepository) Delete(arg0 context.Context, arg1, arg2 string) error
Delete mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) FindByEntity ¶
func (m *MockRepository) FindByEntity(arg0 context.Context, arg1, arg2 string) (*metadata.Metadata, error)
FindByEntity mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Create ¶
func (mr *MockRepositoryMockRecorder) Create(arg0, arg1, arg2 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockRepositoryMockRecorder) Delete ¶
func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockRepositoryMockRecorder) FindByEntity ¶
func (mr *MockRepositoryMockRecorder) FindByEntity(arg0, arg1, arg2 any) *gomock.Call
FindByEntity indicates an expected call of FindByEntity.
Click to show internal directories.
Click to hide internal directories.