mocks

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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.

func (*MockCronRegistryMockRecorder) Get

Get indicates an expected call of Get.

func (*MockCronRegistryMockRecorder) Remove

func (mr *MockCronRegistryMockRecorder) Remove(name any) *gomock.Call

Remove indicates an expected call of Remove.

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

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.

Jump to

Keyboard shortcuts

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