Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: utils/cron_registry.go
Generated by this command:
mockgen -source=utils/cron_registry.go -package mocks -destination=./mocks/cron_registry.go -self_package=. CronRegistry
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: utils/version_service.go
Generated by this command:
mockgen -source=utils/version_service.go -package mocks -destination=./mocks/version_service.go -self_package=. VersionService
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCronRegistry ¶
type MockCronRegistry struct {
// contains filtered or unexported fields
}
MockCronRegistry is a mock of CronRegistry interface.
func NewMockCronRegistry ¶
func NewMockCronRegistry(ctrl *gomock.Controller) *MockCronRegistry
NewMockCronRegistry creates a new mock instance.
func (*MockCronRegistry) Add ¶
func (m *MockCronRegistry) Add(name, schedule string, cmd func()) error
Add mocks base method.
func (*MockCronRegistry) EXPECT ¶
func (m *MockCronRegistry) EXPECT() *MockCronRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCronRegistry) Get ¶
func (m *MockCronRegistry) Get(name string) (string, bool)
Get mocks base method.
func (*MockCronRegistry) Remove ¶
func (m *MockCronRegistry) Remove(name string) error
Remove mocks base method.
type MockCronRegistryMockRecorder ¶
type MockCronRegistryMockRecorder struct {
// contains filtered or unexported fields
}
MockCronRegistryMockRecorder is the mock recorder for MockCronRegistry.
func (*MockCronRegistryMockRecorder) Add ¶
func (mr *MockCronRegistryMockRecorder) Add(name, schedule, cmd any) *gomock.Call
Add indicates an expected call of Add.
type MockVersionService ¶
type MockVersionService struct {
// contains filtered or unexported fields
}
MockVersionService is a mock of VersionService interface.
func NewMockVersionService ¶
func NewMockVersionService(ctrl *gomock.Controller) *MockVersionService
NewMockVersionService creates a new mock instance.
func (*MockVersionService) EXPECT ¶
func (m *MockVersionService) EXPECT() *MockVersionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVersionService) LatestVersions ¶
func (m *MockVersionService) LatestVersions(ctx context.Context, endpoint string, versions *v1alpha1.ProductVersions) (*v1alpha1.DetailedProductVersions, error)
LatestVersions mocks base method.
type MockVersionServiceMockRecorder ¶
type MockVersionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVersionServiceMockRecorder is the mock recorder for MockVersionService.
func (*MockVersionServiceMockRecorder) LatestVersions ¶
func (mr *MockVersionServiceMockRecorder) LatestVersions(ctx, endpoint, versions any) *gomock.Call
LatestVersions indicates an expected call of LatestVersions.