{"modulePath":"github.com/isindir/git-get","version":"v0.0.40","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mocks\n\n## Types\n\n```go\ntype GitGetGithubI struct {\n\tmock.Mock\n}\n```\nGitGetGithubI is an autogenerated mock type for the GitGetGithubI type\n\n```go\nfunc NewGitGetGithubI(t interface {\n\tmock.TestingT\n\tCleanup(func())\n}) *GitGetGithubI\n```\nNewGitGetGithubI creates a new instance of GitGetGithubI. 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.\n\n```go\nfunc (_mock *GitGetGithubI) CreateRepository(ctx context.Context, repositorySha string, repository string, mirrorVisibilityMode string, sourceURL string) *github.Repository\n```\nCreateRepository provides a mock function for the type GitGetGithubI\n\n```go\nfunc (_m *GitGetGithubI) EXPECT() *GitGetGithubI_Expecter\n```\n\n```go\nfunc (_mock *GitGetGithubI) FetchOwnerRepos(ctx context.Context, repoSha string, owner string, githubVisibility string, githubAffiliation string) []*github.Repository\n```\nFetchOwnerRepos provides a mock function for the type GitGetGithubI\n\n```go\nfunc (_mock *GitGetGithubI) Init() bool\n```\nInit provides a mock function for the type GitGetGithubI\n\n```go\nfunc (_mock *GitGetGithubI) RepositoryExists(ctx context.Context, repositorySha string, owner string, repository string) bool\n```\nRepositoryExists provides a mock function for the type GitGetGithubI\n\n```go\ntype GitGetGithubI_CreateRepository_Call struct {\n\t*mock.Call\n}\n```\nGitGetGithubI\\_CreateRepository\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRepository'\n\n```go\nfunc (_c *GitGetGithubI_CreateRepository_Call) Return(repository1 *github.Repository) *GitGetGithubI_CreateRepository_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_CreateRepository_Call) Run(run func(ctx context.Context, repositorySha string, repository string, mirrorVisibilityMode string, sourceURL string)) *GitGetGithubI_CreateRepository_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_CreateRepository_Call) RunAndReturn(run func(ctx context.Context, repositorySha string, repository string, mirrorVisibilityMode string, sourceURL string) *github.Repository) *GitGetGithubI_CreateRepository_Call\n```\n\n```go\ntype GitGetGithubI_Expecter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (_e *GitGetGithubI_Expecter) CreateRepository(ctx any, repositorySha any, repository any, mirrorVisibilityMode any, sourceURL any) *GitGetGithubI_CreateRepository_Call\n```\nCreateRepository is a helper method to define mock.On call\n\n  - ctx context.Context\n  - repositorySha string\n  - repository string\n  - mirrorVisibilityMode string\n  - sourceURL string\n\n```go\nfunc (_e *GitGetGithubI_Expecter) FetchOwnerRepos(ctx any, repoSha any, owner any, githubVisibility any, githubAffiliation any) *GitGetGithubI_FetchOwnerRepos_Call\n```\nFetchOwnerRepos is a helper method to define mock.On call\n\n  - ctx context.Context\n  - repoSha string\n  - owner string\n  - githubVisibility string\n  - githubAffiliation string\n\n```go\nfunc (_e *GitGetGithubI_Expecter) Init() *GitGetGithubI_Init_Call\n```\nInit is a helper method to define mock.On call\n\n```go\nfunc (_e *GitGetGithubI_Expecter) RepositoryExists(ctx any, repositorySha any, owner any, repository any) *GitGetGithubI_RepositoryExists_Call\n```\nRepositoryExists is a helper method to define mock.On call\n\n  - ctx context.Context\n  - repositorySha string\n  - owner string\n  - repository string\n\n```go\ntype GitGetGithubI_FetchOwnerRepos_Call struct {\n\t*mock.Call\n}\n```\nGitGetGithubI\\_FetchOwnerRepos\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'FetchOwnerRepos'\n\n```go\nfunc (_c *GitGetGithubI_FetchOwnerRepos_Call) Return(repositorys []*github.Repository) *GitGetGithubI_FetchOwnerRepos_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_FetchOwnerRepos_Call) Run(run func(ctx context.Context, repoSha string, owner string, githubVisibility string, githubAffiliation string)) *GitGetGithubI_FetchOwnerRepos_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_FetchOwnerRepos_Call) RunAndReturn(run func(ctx context.Context, repoSha string, owner string, githubVisibility string, githubAffiliation string) []*github.Repository) *GitGetGithubI_FetchOwnerRepos_Call\n```\n\n```go\ntype GitGetGithubI_Init_Call struct {\n\t*mock.Call\n}\n```\nGitGetGithubI\\_Init\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'Init'\n\n```go\nfunc (_c *GitGetGithubI_Init_Call) Return(b bool) *GitGetGithubI_Init_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_Init_Call) Run(run func()) *GitGetGithubI_Init_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_Init_Call) RunAndReturn(run func() bool) *GitGetGithubI_Init_Call\n```\n\n```go\ntype GitGetGithubI_RepositoryExists_Call struct {\n\t*mock.Call\n}\n```\nGitGetGithubI\\_RepositoryExists\\_Call is a \\*mock.Call that shadows Run/Return methods with type explicit version for method 'RepositoryExists'\n\n```go\nfunc (_c *GitGetGithubI_RepositoryExists_Call) Return(b bool) *GitGetGithubI_RepositoryExists_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_RepositoryExists_Call) Run(run func(ctx context.Context, repositorySha string, owner string, repository string)) *GitGetGithubI_RepositoryExists_Call\n```\n\n```go\nfunc (_c *GitGetGithubI_RepositoryExists_Call) RunAndReturn(run func(ctx context.Context, repositorySha string, owner string, repository string) bool) *GitGetGithubI_RepositoryExists_Call\n```\n\n","path":"github.com/isindir/git-get/github/mocks","name":"mocks","synopsis":"","isRedistributable":true}
