mock_repositories

package
v0.0.0-...-22c2ce1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_repositories 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) CreateRepository

func (m *MockClientInterface) CreateRepository(repository repositories.Repository) (*repositories.Repository, error)

CreateRepository mocks base method.

func (*MockClientInterface) EXPECT

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

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.

Jump to

Keyboard shortcuts

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