automock

package
v0.0.0-...-696ba86 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitClient

type GitClient struct {
	mock.Mock
}

GitClient is an autogenerated mock type for the GitClient type

func NewGitClient

func NewGitClient(t mockConstructorTestingTNewGitClient) *GitClient

NewGitClient creates a new instance of GitClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GitClient) Clone

func (_m *GitClient) Clone(path string, options git.Options) (string, error)

Clone provides a mock function with given fields: path, options

func (*GitClient) LastCommit

func (_m *GitClient) LastCommit(options git.Options) (string, error)

LastCommit provides a mock function with given fields: options

type GitClientFactory

type GitClientFactory struct {
	mock.Mock
}

GitClientFactory is an autogenerated mock type for the GitClientFactory type

func NewGitClientFactory

func NewGitClientFactory(t mockConstructorTestingTNewGitClientFactory) *GitClientFactory

NewGitClientFactory creates a new instance of GitClientFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GitClientFactory) GetGitClient

func (_m *GitClientFactory) GetGitClient(logger *zap.SugaredLogger) git.GitClient

GetGitClient provides a mock function with given fields: logger

type StatsCollector

type StatsCollector struct {
	mock.Mock
}

StatsCollector is an autogenerated mock type for the StatsCollector type

func NewStatsCollector

func NewStatsCollector(t mockConstructorTestingTNewStatsCollector) *StatsCollector

NewStatsCollector creates a new instance of StatsCollector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*StatsCollector) UpdateReconcileStats

func (_m *StatsCollector) UpdateReconcileStats(f *v1alpha2.Function, cond v1alpha2.Condition)

UpdateReconcileStats provides a mock function with given fields: f, cond

Jump to

Keyboard shortcuts

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