Documentation ¶
Overview ¶
Package mock_repositories is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) CreateRepository(repository repositories.Repository) (*repositories.Repository, error)
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetBaseURL() (*url.URL, error)
- func (m *MockClientInterface) GetRepositoryByName(name string) (*repositories.Repository, error)
- func (m *MockClientInterface) GetRepositoryByURL(url string) (*repositories.Repository, error)
- func (m *MockClientInterface) GetRepositoryByUUID(uuid string) (*repositories.Repository, error)
- func (m *MockClientInterface) ListRepositories(requestParams repositories.ListRepositoriesParams, ...) (*repositories.ListRepositoriesResponse, error)
- func (m *MockClientInterface) SearchContentPackage(packageName string, URLS []string) (*[]repositories.SearchPackageResponse, error)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) CreateRepository(repository interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetBaseURL() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetRepositoryByName(name interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetRepositoryByURL(url interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetRepositoryByUUID(uuid interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ListRepositories(requestParams, filters interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SearchContentPackage(packageName, URLS interface{}) *gomock.Call
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) CreateRepository ¶
func (m *MockClientInterface) CreateRepository(repository repositories.Repository) (*repositories.Repository, error)
CreateRepository mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) GetBaseURL ¶
func (m *MockClientInterface) GetBaseURL() (*url.URL, error)
GetBaseURL mocks base method.
func (*MockClientInterface) GetRepositoryByName ¶
func (m *MockClientInterface) GetRepositoryByName(name string) (*repositories.Repository, error)
GetRepositoryByName mocks base method.
func (*MockClientInterface) GetRepositoryByURL ¶
func (m *MockClientInterface) GetRepositoryByURL(url string) (*repositories.Repository, error)
GetRepositoryByURL mocks base method.
func (*MockClientInterface) GetRepositoryByUUID ¶
func (m *MockClientInterface) GetRepositoryByUUID(uuid string) (*repositories.Repository, error)
GetRepositoryByUUID mocks base method.
func (*MockClientInterface) ListRepositories ¶
func (m *MockClientInterface) ListRepositories(requestParams repositories.ListRepositoriesParams, filters repositories.ListRepositoriesFilters) (*repositories.ListRepositoriesResponse, error)
ListRepositories mocks base method.
func (*MockClientInterface) SearchContentPackage ¶
func (m *MockClientInterface) SearchContentPackage(packageName string, URLS []string) (*[]repositories.SearchPackageResponse, error)
SearchContentPackage mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) CreateRepository ¶
func (mr *MockClientInterfaceMockRecorder) CreateRepository(repository interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockClientInterfaceMockRecorder) GetBaseURL ¶
func (mr *MockClientInterfaceMockRecorder) GetBaseURL() *gomock.Call
GetBaseURL indicates an expected call of GetBaseURL.
func (*MockClientInterfaceMockRecorder) GetRepositoryByName ¶
func (mr *MockClientInterfaceMockRecorder) GetRepositoryByName(name interface{}) *gomock.Call
GetRepositoryByName indicates an expected call of GetRepositoryByName.
func (*MockClientInterfaceMockRecorder) GetRepositoryByURL ¶
func (mr *MockClientInterfaceMockRecorder) GetRepositoryByURL(url interface{}) *gomock.Call
GetRepositoryByURL indicates an expected call of GetRepositoryByURL.
func (*MockClientInterfaceMockRecorder) GetRepositoryByUUID ¶
func (mr *MockClientInterfaceMockRecorder) GetRepositoryByUUID(uuid interface{}) *gomock.Call
GetRepositoryByUUID indicates an expected call of GetRepositoryByUUID.
func (*MockClientInterfaceMockRecorder) ListRepositories ¶
func (mr *MockClientInterfaceMockRecorder) ListRepositories(requestParams, filters interface{}) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockClientInterfaceMockRecorder) SearchContentPackage ¶
func (mr *MockClientInterfaceMockRecorder) SearchContentPackage(packageName, URLS interface{}) *gomock.Call
SearchContentPackage indicates an expected call of SearchContentPackage.