mocks

package
v0.0.0-...-326c0ea Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 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 OpenCloner

type OpenCloner struct {
	mock.Mock
}

OpenCloner is an autogenerated mock type for the OpenCloner type

func (*OpenCloner) Clone

func (_m *OpenCloner) Clone(ctx context.Context, url string, dest string) error

Clone provides a mock function with given fields: ctx, url, dest

func (*OpenCloner) Open

func (_m *OpenCloner) Open(path string) (*go_git_v4.Repository, error)

Open provides a mock function with given fields: path

type RepositoryService

type RepositoryService struct {
	mock.Mock
}

RepositoryService is an autogenerated mock type for the RepositoryService type

func (*RepositoryService) ForkRepository

func (_m *RepositoryService) ForkRepository(ctx context.Context, repoName string) error

ForkRepository provides a mock function with given fields: ctx, repoName

func (*RepositoryService) GetRepository

func (_m *RepositoryService) GetRepository(ctx context.Context, owner string, repoName string) (*v35github.Repository, error)

GetRepository provides a mock function with given fields: ctx, owner, repoName

func (*RepositoryService) GetUserRepositoryFork

func (_m *RepositoryService) GetUserRepositoryFork(ctx context.Context, owner string, repoName string) (*v35github.Repository, error)

GetUserRepositoryFork provides a mock function with given fields: ctx, owner, repoName

func (*RepositoryService) ListRepositoryForks

func (_m *RepositoryService) ListRepositoryForks(ctx context.Context, repoName string) ([]*v35github.Repository, error)

ListRepositoryForks provides a mock function with given fields: ctx, repoName

func (*RepositoryService) RenameRepository

func (_m *RepositoryService) RenameRepository(ctx context.Context, owner string, name string, newName string) error

RenameRepository provides a mock function with given fields: ctx, owner, name, newName

Jump to

Keyboard shortcuts

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