Documentation
¶
Overview ¶
Package rpm_test is a generated GoMock package.
Package rpm_test is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRPMExtractor ¶
type MockRPMExtractor struct {
// contains filtered or unexported fields
}
MockRPMExtractor is a mock of RPMExtractor interface.
func NewMockRPMExtractor ¶
func NewMockRPMExtractor(ctrl *gomock.Controller) *MockRPMExtractor
NewMockRPMExtractor creates a new mock instance.
func NewNoOpMockRPMExtractor ¶
func NewNoOpMockRPMExtractor(ctrl *gomock.Controller) *MockRPMExtractor
func (*MockRPMExtractor) EXPECT ¶
func (m *MockRPMExtractor) EXPECT() *MockRPMExtractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRPMExtractorMockRecorder ¶
type MockRPMExtractorMockRecorder struct {
// contains filtered or unexported fields
}
MockRPMExtractorMockRecorder is the mock recorder for MockRPMExtractor.
type MockRepoQuerier ¶
type MockRepoQuerier struct {
// contains filtered or unexported fields
}
MockRepoQuerier is a mock of RepoQuerier interface.
func NewMockRepoQuerier ¶
func NewMockRepoQuerier(ctrl *gomock.Controller) *MockRepoQuerier
NewMockRepoQuerier creates a new mock instance.
func (*MockRepoQuerier) EXPECT ¶
func (m *MockRepoQuerier) EXPECT() *MockRepoQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepoQuerier) GetLatestVersion ¶
func (m *MockRepoQuerier) GetLatestVersion(ctx context.Context, packageName string) (*rpm.Version, error)
GetLatestVersion mocks base method.
func (*MockRepoQuerier) GetRPMLocation ¶
func (m *MockRepoQuerier) GetRPMLocation(ctx context.Context, packageName string, version *rpm.Version) (string, error)
GetRPMLocation mocks base method.
type MockRepoQuerierMockRecorder ¶
type MockRepoQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoQuerierMockRecorder is the mock recorder for MockRepoQuerier.
func (*MockRepoQuerierMockRecorder) GetLatestVersion ¶
func (mr *MockRepoQuerierMockRecorder) GetLatestVersion(ctx, packageName any) *gomock.Call
GetLatestVersion indicates an expected call of GetLatestVersion.
func (*MockRepoQuerierMockRecorder) GetRPMLocation ¶
func (mr *MockRepoQuerierMockRecorder) GetRPMLocation(ctx, packageName, version any) *gomock.Call
GetRPMLocation indicates an expected call of GetRPMLocation.