Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGitFetcher
- type MockGitFetcherMockRecorder
- type MockWatcher
- func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder
- func (m *MockWatcher) Finish()
- func (m *MockWatcher) GetSyncInterval() float64
- func (m *MockWatcher) Restart(arg0 context.Context)
- func (m *MockWatcher) StartBackgroundSync(arg0 context.Context)
- func (m *MockWatcher) UpdateGitRepo(arg0 v1alpha1.GitRepo)
- type MockWatcherMockRecorder
- func (mr *MockWatcherMockRecorder) Finish() *gomock.Call
- func (mr *MockWatcherMockRecorder) GetSyncInterval() *gomock.Call
- func (mr *MockWatcherMockRecorder) Restart(arg0 any) *gomock.Call
- func (mr *MockWatcherMockRecorder) StartBackgroundSync(arg0 any) *gomock.Call
- func (mr *MockWatcherMockRecorder) UpdateGitRepo(arg0 any) *gomock.Call
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 ¶
func (m *MockGitFetcher) EXPECT() *MockGitFetcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) 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.