mocks

package
v0.10.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockGitFetcher

type MockGitFetcher struct {
	// contains filtered or unexported fields
}

MockGitFetcher is a mock of GitFetcher interface.

func NewMockGitFetcher

func NewMockGitFetcher(ctrl *gomock.Controller) *MockGitFetcher

NewMockGitFetcher creates a new mock instance.

func (*MockGitFetcher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGitFetcher) LatestCommit

func (m *MockGitFetcher) LatestCommit(arg0 context.Context, arg1 *v1alpha1.GitRepo, arg2 client.Client) (string, error)

LatestCommit mocks base method.

type MockGitFetcherMockRecorder

type MockGitFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitFetcherMockRecorder is the mock recorder for MockGitFetcher.

func (*MockGitFetcherMockRecorder) LatestCommit

func (mr *MockGitFetcherMockRecorder) LatestCommit(arg0, arg1, arg2 any) *gomock.Call

LatestCommit indicates an expected call of LatestCommit.

type MockWatcher

type MockWatcher struct {
	// contains filtered or unexported fields
}

MockWatcher is a mock of Watcher interface.

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance.

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWatcher) Finish

func (m *MockWatcher) Finish()

Finish mocks base method.

func (*MockWatcher) GetSyncInterval

func (m *MockWatcher) GetSyncInterval() float64

GetSyncInterval mocks base method.

func (*MockWatcher) Restart

func (m *MockWatcher) Restart(arg0 context.Context)

Restart mocks base method.

func (*MockWatcher) StartBackgroundSync

func (m *MockWatcher) StartBackgroundSync(arg0 context.Context)

StartBackgroundSync mocks base method.

func (*MockWatcher) UpdateGitRepo

func (m *MockWatcher) UpdateGitRepo(arg0 v1alpha1.GitRepo)

UpdateGitRepo mocks base method.

type MockWatcherMockRecorder

type MockWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockWatcherMockRecorder is the mock recorder for MockWatcher.

func (*MockWatcherMockRecorder) Finish

func (mr *MockWatcherMockRecorder) Finish() *gomock.Call

Finish indicates an expected call of Finish.

func (*MockWatcherMockRecorder) GetSyncInterval

func (mr *MockWatcherMockRecorder) GetSyncInterval() *gomock.Call

GetSyncInterval indicates an expected call of GetSyncInterval.

func (*MockWatcherMockRecorder) Restart

func (mr *MockWatcherMockRecorder) Restart(arg0 any) *gomock.Call

Restart indicates an expected call of Restart.

func (*MockWatcherMockRecorder) StartBackgroundSync

func (mr *MockWatcherMockRecorder) StartBackgroundSync(arg0 any) *gomock.Call

StartBackgroundSync indicates an expected call of StartBackgroundSync.

func (*MockWatcherMockRecorder) UpdateGitRepo

func (mr *MockWatcherMockRecorder) UpdateGitRepo(arg0 any) *gomock.Call

UpdateGitRepo indicates an expected call of UpdateGitRepo.

Jump to

Keyboard shortcuts

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