Documentation
¶
Overview ¶
Package mockghrepo is a generated GoMock package.
Index ¶
- type MockRepositoryService
- func (m *MockRepositoryService) CreateRepository(arg0 context.Context, arg1 clients.GitHubRepoClient, arg2 *db.Provider, ...) (*v1.Repository, error)
- func (m *MockRepositoryService) DeleteRepositoriesByProvider(arg0 context.Context, arg1 clients.GitHubRepoClient, arg2 string, ...) error
- func (m *MockRepositoryService) DeleteRepository(arg0 context.Context, arg1 clients.GitHubRepoClient, arg2 *db.Repository) error
- func (m *MockRepositoryService) EXPECT() *MockRepositoryServiceMockRecorder
- func (m *MockRepositoryService) GetRepositoryById(arg0 context.Context, arg1, arg2 uuid.UUID) (db.Repository, error)
- func (m *MockRepositoryService) GetRepositoryByName(arg0 context.Context, arg1, arg2 string, arg3 uuid.UUID, arg4 string) (db.Repository, error)
- type MockRepositoryServiceMockRecorder
- func (mr *MockRepositoryServiceMockRecorder) CreateRepository(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) DeleteRepositoriesByProvider(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) DeleteRepository(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) GetRepositoryById(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRepositoryServiceMockRecorder) GetRepositoryByName(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoryService ¶
type MockRepositoryService struct {
// contains filtered or unexported fields
}
MockRepositoryService is a mock of RepositoryService interface.
func NewMockRepositoryService ¶
func NewMockRepositoryService(ctrl *gomock.Controller) *MockRepositoryService
NewMockRepositoryService creates a new mock instance.
func (*MockRepositoryService) CreateRepository ¶
func (m *MockRepositoryService) CreateRepository(arg0 context.Context, arg1 clients.GitHubRepoClient, arg2 *db.Provider, arg3 uuid.UUID, arg4, arg5 string) (*v1.Repository, error)
CreateRepository mocks base method.
func (*MockRepositoryService) DeleteRepositoriesByProvider ¶ added in v0.0.40
func (m *MockRepositoryService) DeleteRepositoriesByProvider(arg0 context.Context, arg1 clients.GitHubRepoClient, arg2 string, arg3 uuid.UUID) error
DeleteRepositoriesByProvider mocks base method.
func (*MockRepositoryService) DeleteRepository ¶ added in v0.0.39
func (m *MockRepositoryService) DeleteRepository(arg0 context.Context, arg1 clients.GitHubRepoClient, arg2 *db.Repository) error
DeleteRepository mocks base method.
func (*MockRepositoryService) EXPECT ¶
func (m *MockRepositoryService) EXPECT() *MockRepositoryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryService) GetRepositoryById ¶ added in v0.0.39
func (m *MockRepositoryService) GetRepositoryById(arg0 context.Context, arg1, arg2 uuid.UUID) (db.Repository, error)
GetRepositoryById mocks base method.
func (*MockRepositoryService) GetRepositoryByName ¶ added in v0.0.39
func (m *MockRepositoryService) GetRepositoryByName(arg0 context.Context, arg1, arg2 string, arg3 uuid.UUID, arg4 string) (db.Repository, error)
GetRepositoryByName mocks base method.
type MockRepositoryServiceMockRecorder ¶
type MockRepositoryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryServiceMockRecorder is the mock recorder for MockRepositoryService.
func (*MockRepositoryServiceMockRecorder) CreateRepository ¶
func (mr *MockRepositoryServiceMockRecorder) CreateRepository(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockRepositoryServiceMockRecorder) DeleteRepositoriesByProvider ¶ added in v0.0.40
func (mr *MockRepositoryServiceMockRecorder) DeleteRepositoriesByProvider(arg0, arg1, arg2, arg3 any) *gomock.Call
DeleteRepositoriesByProvider indicates an expected call of DeleteRepositoriesByProvider.
func (*MockRepositoryServiceMockRecorder) DeleteRepository ¶ added in v0.0.39
func (mr *MockRepositoryServiceMockRecorder) DeleteRepository(arg0, arg1, arg2 any) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
func (*MockRepositoryServiceMockRecorder) GetRepositoryById ¶ added in v0.0.39
func (mr *MockRepositoryServiceMockRecorder) GetRepositoryById(arg0, arg1, arg2 any) *gomock.Call
GetRepositoryById indicates an expected call of GetRepositoryById.
func (*MockRepositoryServiceMockRecorder) GetRepositoryByName ¶ added in v0.0.39
func (mr *MockRepositoryServiceMockRecorder) GetRepositoryByName(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
GetRepositoryByName indicates an expected call of GetRepositoryByName.