mocks

package
v3.0.0-...-9f81cd4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoClientFactory

type RepoClientFactory struct {
	mock.Mock
}

RepoClientFactory is an autogenerated mock type for the RepoClientFactory type

func NewRepoClientFactory

func NewRepoClientFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *RepoClientFactory

NewRepoClientFactory creates a new instance of RepoClientFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RepoClientFactory) NewClient

func (_m *RepoClientFactory) NewClient(repo *v1alpha1.Repository, rootPath string) (git.Client, error)

NewClient provides a mock function with given fields: repo, rootPath

Jump to

Keyboard shortcuts

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