mocks

package
v0.0.0-...-7b190fc Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 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 Git

type Git struct {
	mock.Mock
}

Git is an autogenerated mock type for the Git type

func NewGit

func NewGit(t mockConstructorTestingTNewGit) *Git

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

func (*Git) FetchCommitSHA

func (_m *Git) FetchCommitSHA(ctx context.Context, owner string, repo string, ref string) (string, error)

FetchCommitSHA provides a mock function with given fields: ctx, owner, repo, ref

func (*Git) GetContents

func (_m *Git) GetContents(ctx context.Context, owner string, repo string, ref string, path string) (*github.RepositoryContent, []*github.RepositoryContent, error)

GetContents provides a mock function with given fields: ctx, owner, repo, ref, path

Jump to

Keyboard shortcuts

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