Documentation ¶
Index ¶
- type OpenCloner
- type RepositoryService
- func (_m *RepositoryService) ForkRepository(ctx context.Context, repoName string) error
- func (_m *RepositoryService) GetRepository(ctx context.Context, owner string, repoName string) (*v35github.Repository, error)
- func (_m *RepositoryService) GetUserRepositoryFork(ctx context.Context, owner string, repoName string) (*v35github.Repository, error)
- func (_m *RepositoryService) ListRepositoryForks(ctx context.Context, repoName string) ([]*v35github.Repository, error)
- func (_m *RepositoryService) RenameRepository(ctx context.Context, owner string, name string, newName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenCloner ¶
OpenCloner is an autogenerated mock type for the OpenCloner type
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 ¶
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
Click to show internal directories.
Click to hide internal directories.