Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuthor
- type MockAuthorMockRecorder
- type MockDescription
- type MockDescriptionMockRecorder
- type MockID
- type MockIDMockRecorder
- type MockLicense
- type MockLicenseMockRecorder
- type MockLink
- type MockLinkMockRecorder
- type MockMeta
- func (m *MockMeta) EXPECT() *MockMetaMockRecorder
- func (m *MockMeta) GetAuthor() meta.Author
- func (m *MockMeta) GetDependencies() []meta.Dependency
- func (m *MockMeta) GetDescription() meta.Description
- func (m *MockMeta) GetID() meta.ID
- func (m *MockMeta) GetInterface() meta.Interface
- func (m *MockMeta) GetLicense() []meta.License
- func (m *MockMeta) GetLinks() []meta.Link
- func (m *MockMeta) GetRepository() meta.Repository
- func (m *MockMeta) GetTags() []string
- type MockMetaMockRecorder
- func (mr *MockMetaMockRecorder) GetAuthor() *gomock.Call
- func (mr *MockMetaMockRecorder) GetDependencies() *gomock.Call
- func (mr *MockMetaMockRecorder) GetDescription() *gomock.Call
- func (mr *MockMetaMockRecorder) GetID() *gomock.Call
- func (mr *MockMetaMockRecorder) GetInterface() *gomock.Call
- func (mr *MockMetaMockRecorder) GetLicense() *gomock.Call
- func (mr *MockMetaMockRecorder) GetLinks() *gomock.Call
- func (mr *MockMetaMockRecorder) GetRepository() *gomock.Call
- func (mr *MockMetaMockRecorder) GetTags() *gomock.Call
- type MockRepository
- type MockRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthor ¶
type MockAuthor struct {
// contains filtered or unexported fields
}
MockAuthor is a mock of Author interface.
func NewMockAuthor ¶
func NewMockAuthor(ctrl *gomock.Controller) *MockAuthor
NewMockAuthor creates a new mock instance.
func (*MockAuthor) EXPECT ¶
func (m *MockAuthor) EXPECT() *MockAuthorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthorMockRecorder ¶
type MockAuthorMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorMockRecorder is the mock recorder for MockAuthor.
func (*MockAuthorMockRecorder) GetName ¶
func (mr *MockAuthorMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockAuthorMockRecorder) GetURL ¶
func (mr *MockAuthorMockRecorder) GetURL() *gomock.Call
GetURL indicates an expected call of GetURL.
type MockDescription ¶
type MockDescription struct {
// contains filtered or unexported fields
}
MockDescription is a mock of Description interface.
func NewMockDescription ¶
func NewMockDescription(ctrl *gomock.Controller) *MockDescription
NewMockDescription creates a new mock instance.
func (*MockDescription) EXPECT ¶
func (m *MockDescription) EXPECT() *MockDescriptionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDescription) GetDescription ¶
func (m *MockDescription) GetDescription() string
GetDescription mocks base method.
func (*MockDescription) GetTitle ¶
func (m *MockDescription) GetTitle() string
GetTitle mocks base method.
type MockDescriptionMockRecorder ¶
type MockDescriptionMockRecorder struct {
// contains filtered or unexported fields
}
MockDescriptionMockRecorder is the mock recorder for MockDescription.
func (*MockDescriptionMockRecorder) GetDescription ¶
func (mr *MockDescriptionMockRecorder) GetDescription() *gomock.Call
GetDescription indicates an expected call of GetDescription.
func (*MockDescriptionMockRecorder) GetTitle ¶
func (mr *MockDescriptionMockRecorder) GetTitle() *gomock.Call
GetTitle indicates an expected call of GetTitle.
type MockID ¶
type MockID struct {
// contains filtered or unexported fields
}
MockID is a mock of ID interface.
func NewMockID ¶
func NewMockID(ctrl *gomock.Controller) *MockID
NewMockID creates a new mock instance.
func (*MockID) EXPECT ¶
func (m *MockID) EXPECT() *MockIDMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIDMockRecorder ¶
type MockIDMockRecorder struct {
// contains filtered or unexported fields
}
MockIDMockRecorder is the mock recorder for MockID.
func (*MockIDMockRecorder) GetID ¶
func (mr *MockIDMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID.
func (*MockIDMockRecorder) GetVersion ¶
func (mr *MockIDMockRecorder) GetVersion() *gomock.Call
GetVersion indicates an expected call of GetVersion.
func (*MockIDMockRecorder) String ¶
func (mr *MockIDMockRecorder) String() *gomock.Call
String indicates an expected call of String.
type MockLicense ¶
type MockLicense struct {
// contains filtered or unexported fields
}
MockLicense is a mock of License interface.
func NewMockLicense ¶
func NewMockLicense(ctrl *gomock.Controller) *MockLicense
NewMockLicense creates a new mock instance.
func (*MockLicense) EXPECT ¶
func (m *MockLicense) EXPECT() *MockLicenseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLicense) GetType ¶
func (m *MockLicense) GetType() meta.LicenseType
GetType mocks base method.
type MockLicenseMockRecorder ¶
type MockLicenseMockRecorder struct {
// contains filtered or unexported fields
}
MockLicenseMockRecorder is the mock recorder for MockLicense.
func (*MockLicenseMockRecorder) GetTitle ¶
func (mr *MockLicenseMockRecorder) GetTitle() *gomock.Call
GetTitle indicates an expected call of GetTitle.
func (*MockLicenseMockRecorder) GetType ¶
func (mr *MockLicenseMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockLicenseMockRecorder) GetURL ¶
func (mr *MockLicenseMockRecorder) GetURL() *gomock.Call
GetURL indicates an expected call of GetURL.
type MockLink ¶
type MockLink struct {
// contains filtered or unexported fields
}
MockLink is a mock of Link interface.
func NewMockLink ¶
func NewMockLink(ctrl *gomock.Controller) *MockLink
NewMockLink creates a new mock instance.
func (*MockLink) EXPECT ¶
func (m *MockLink) EXPECT() *MockLinkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLinkMockRecorder ¶
type MockLinkMockRecorder struct {
// contains filtered or unexported fields
}
MockLinkMockRecorder is the mock recorder for MockLink.
func (*MockLinkMockRecorder) GetTitle ¶
func (mr *MockLinkMockRecorder) GetTitle() *gomock.Call
GetTitle indicates an expected call of GetTitle.
func (*MockLinkMockRecorder) GetURL ¶
func (mr *MockLinkMockRecorder) GetURL() *gomock.Call
GetURL indicates an expected call of GetURL.
type MockMeta ¶
type MockMeta struct {
// contains filtered or unexported fields
}
MockMeta is a mock of Meta interface.
func NewMockMeta ¶
func NewMockMeta(ctrl *gomock.Controller) *MockMeta
NewMockMeta creates a new mock instance.
func (*MockMeta) EXPECT ¶
func (m *MockMeta) EXPECT() *MockMetaMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMeta) GetDependencies ¶
func (m *MockMeta) GetDependencies() []meta.Dependency
GetDependencies mocks base method.
func (*MockMeta) GetDescription ¶
func (m *MockMeta) GetDescription() meta.Description
GetDescription mocks base method.
func (*MockMeta) GetInterface ¶
GetInterface mocks base method.
func (*MockMeta) GetLicense ¶
GetLicense mocks base method.
func (*MockMeta) GetRepository ¶
func (m *MockMeta) GetRepository() meta.Repository
GetRepository mocks base method.
type MockMetaMockRecorder ¶
type MockMetaMockRecorder struct {
// contains filtered or unexported fields
}
MockMetaMockRecorder is the mock recorder for MockMeta.
func (*MockMetaMockRecorder) GetAuthor ¶
func (mr *MockMetaMockRecorder) GetAuthor() *gomock.Call
GetAuthor indicates an expected call of GetAuthor.
func (*MockMetaMockRecorder) GetDependencies ¶
func (mr *MockMetaMockRecorder) GetDependencies() *gomock.Call
GetDependencies indicates an expected call of GetDependencies.
func (*MockMetaMockRecorder) GetDescription ¶
func (mr *MockMetaMockRecorder) GetDescription() *gomock.Call
GetDescription indicates an expected call of GetDescription.
func (*MockMetaMockRecorder) GetID ¶
func (mr *MockMetaMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID.
func (*MockMetaMockRecorder) GetInterface ¶
func (mr *MockMetaMockRecorder) GetInterface() *gomock.Call
GetInterface indicates an expected call of GetInterface.
func (*MockMetaMockRecorder) GetLicense ¶
func (mr *MockMetaMockRecorder) GetLicense() *gomock.Call
GetLicense indicates an expected call of GetLicense.
func (*MockMetaMockRecorder) GetLinks ¶
func (mr *MockMetaMockRecorder) GetLinks() *gomock.Call
GetLinks indicates an expected call of GetLinks.
func (*MockMetaMockRecorder) GetRepository ¶
func (mr *MockMetaMockRecorder) GetRepository() *gomock.Call
GetRepository indicates an expected call of GetRepository.
func (*MockMetaMockRecorder) GetTags ¶
func (mr *MockMetaMockRecorder) GetTags() *gomock.Call
GetTags indicates an expected call of GetTags.
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) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) GetType ¶
func (m *MockRepository) GetType() meta.RepositoryType
GetType mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) GetType ¶
func (mr *MockRepositoryMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockRepositoryMockRecorder) GetURL ¶
func (mr *MockRepositoryMockRecorder) GetURL() *gomock.Call
GetURL indicates an expected call of GetURL.