Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
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
Click to show internal directories.
Click to hide internal directories.