Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeChangeFetcherNotificationComposer
- func (fake *FakeChangeFetcherNotificationComposer) Invocations() map[string][][]interface{}
- func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotify(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, ...) error
- func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyArgsForCall(i int) (context.Context, lager.Logger, string, string, map[string]struct{}, string, ...)
- func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyCallCount() int
- func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyReturns(result1 error)
- func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyReturnsOnCall(i int, result1 error)
- type FakeClonerNotificationComposer
- func (fake *FakeClonerNotificationComposer) Invocations() map[string][][]interface{}
- func (fake *FakeClonerNotificationComposer) ScanAndNotify(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, ...) error
- func (fake *FakeClonerNotificationComposer) ScanAndNotifyArgsForCall(i int) (context.Context, lager.Logger, string, string, map[string]struct{}, string, ...)
- func (fake *FakeClonerNotificationComposer) ScanAndNotifyCallCount() int
- func (fake *FakeClonerNotificationComposer) ScanAndNotifyReturns(result1 error)
- func (fake *FakeClonerNotificationComposer) ScanAndNotifyReturnsOnCall(i int, result1 error)
- type FakeGitBranchCloneClient
- func (fake *FakeGitBranchCloneClient) BranchTargets(repoPath string) (map[string]string, error)
- func (fake *FakeGitBranchCloneClient) BranchTargetsArgsForCall(i int) string
- func (fake *FakeGitBranchCloneClient) BranchTargetsCallCount() int
- func (fake *FakeGitBranchCloneClient) BranchTargetsReturns(result1 map[string]string, result2 error)
- func (fake *FakeGitBranchCloneClient) BranchTargetsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeGitBranchCloneClient) Clone(arg1 string, arg2 string) error
- func (fake *FakeGitBranchCloneClient) CloneArgsForCall(i int) (string, string)
- func (fake *FakeGitBranchCloneClient) CloneCallCount() int
- func (fake *FakeGitBranchCloneClient) CloneReturns(result1 error)
- func (fake *FakeGitBranchCloneClient) CloneReturnsOnCall(i int, result1 error)
- func (fake *FakeGitBranchCloneClient) Invocations() map[string][][]interface{}
- type FakeGitBranchCredentialsCounterClient
- func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCounts(arg1 lager.Logger, arg2 string, arg3 sniff.Sniffer) (map[string]uint, error)
- func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsArgsForCall(i int) (lager.Logger, string, sniff.Sniffer)
- func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsCallCount() int
- func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsReturns(result1 map[string]uint, result2 error)
- func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsReturnsOnCall(i int, result1 map[string]uint, result2 error)
- func (fake *FakeGitBranchCredentialsCounterClient) BranchTargets(repoPath string) (map[string]string, error)
- func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsArgsForCall(i int) string
- func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsCallCount() int
- func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsReturns(result1 map[string]string, result2 error)
- func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *FakeGitBranchCredentialsCounterClient) Invocations() map[string][][]interface{}
- type FakeGitFetchClient
- func (fake *FakeGitFetchClient) Fetch(arg1 string) (map[string][]string, error)
- func (fake *FakeGitFetchClient) FetchArgsForCall(i int) string
- func (fake *FakeGitFetchClient) FetchCallCount() int
- func (fake *FakeGitFetchClient) FetchReturns(result1 map[string][]string, result2 error)
- func (fake *FakeGitFetchClient) FetchReturnsOnCall(i int, result1 map[string][]string, result2 error)
- func (fake *FakeGitFetchClient) Invocations() map[string][][]interface{}
- type FakeGitGCClient
- func (fake *FakeGitGCClient) GC(repoPath string) error
- func (fake *FakeGitGCClient) GCArgsForCall(i int) string
- func (fake *FakeGitGCClient) GCCallCount() int
- func (fake *FakeGitGCClient) GCReturns(result1 error)
- func (fake *FakeGitGCClient) GCReturnsOnCall(i int, result1 error)
- func (fake *FakeGitGCClient) Invocations() map[string][][]interface{}
- type FakeGitGetParentsDiffClient
- func (fake *FakeGitGetParentsDiffClient) Diff(repoPath string, parent string, child string) (string, error)
- func (fake *FakeGitGetParentsDiffClient) DiffArgsForCall(i int) (string, string, string)
- func (fake *FakeGitGetParentsDiffClient) DiffCallCount() int
- func (fake *FakeGitGetParentsDiffClient) DiffReturns(result1 string, result2 error)
- func (fake *FakeGitGetParentsDiffClient) DiffReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeGitGetParentsDiffClient) GetParents(arg1 string, arg2 string) ([]string, error)
- func (fake *FakeGitGetParentsDiffClient) GetParentsArgsForCall(i int) (string, string)
- func (fake *FakeGitGetParentsDiffClient) GetParentsCallCount() int
- func (fake *FakeGitGetParentsDiffClient) GetParentsReturns(result1 []string, result2 error)
- func (fake *FakeGitGetParentsDiffClient) GetParentsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeGitGetParentsDiffClient) Invocations() map[string][][]interface{}
- type FakeGithubRepositoryService
- func (fake *FakeGithubRepositoryService) Get(ctx context.Context, owner string, repo string) (*github.Repository, *github.Response, error)
- func (fake *FakeGithubRepositoryService) GetArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeGithubRepositoryService) GetCallCount() int
- func (fake *FakeGithubRepositoryService) GetReturns(result1 *github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeGithubRepositoryService) GetReturnsOnCall(i int, result1 *github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeGithubRepositoryService) Invocations() map[string][][]interface{}
- func (fake *FakeGithubRepositoryService) List(ctx context.Context, user string, opt *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error)
- func (fake *FakeGithubRepositoryService) ListArgsForCall(i int) (context.Context, string, *github.RepositoryListOptions)
- func (fake *FakeGithubRepositoryService) ListByOrg(ctx context.Context, org string, opt *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
- func (fake *FakeGithubRepositoryService) ListByOrgArgsForCall(i int) (context.Context, string, *github.RepositoryListByOrgOptions)
- func (fake *FakeGithubRepositoryService) ListByOrgCallCount() int
- func (fake *FakeGithubRepositoryService) ListByOrgReturns(result1 []*github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeGithubRepositoryService) ListByOrgReturnsOnCall(i int, result1 []*github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeGithubRepositoryService) ListCallCount() int
- func (fake *FakeGithubRepositoryService) ListReturns(result1 []*github.Repository, result2 *github.Response, result3 error)
- func (fake *FakeGithubRepositoryService) ListReturnsOnCall(i int, result1 []*github.Repository, result2 *github.Response, result3 error)
- type FakeGithubService
- func (fake *FakeGithubService) GetRepo(logger lager.Logger, owner string, repoName string) (*revok.GitHubRepository, error)
- func (fake *FakeGithubService) GetRepoArgsForCall(i int) (lager.Logger, string, string)
- func (fake *FakeGithubService) GetRepoCallCount() int
- func (fake *FakeGithubService) GetRepoReturns(result1 *revok.GitHubRepository, result2 error)
- func (fake *FakeGithubService) GetRepoReturnsOnCall(i int, result1 *revok.GitHubRepository, result2 error)
- func (fake *FakeGithubService) Invocations() map[string][][]interface{}
- func (fake *FakeGithubService) ListRepositoriesByOrg(logger lager.Logger, orgName string) ([]revok.GitHubRepository, error)
- func (fake *FakeGithubService) ListRepositoriesByOrgArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGithubService) ListRepositoriesByOrgCallCount() int
- func (fake *FakeGithubService) ListRepositoriesByOrgReturns(result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeGithubService) ListRepositoriesByOrgReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeGithubService) ListRepositoriesByUser(logger lager.Logger, userName string) ([]revok.GitHubRepository, error)
- func (fake *FakeGithubService) ListRepositoriesByUserArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGithubService) ListRepositoriesByUserCallCount() int
- func (fake *FakeGithubService) ListRepositoriesByUserReturns(result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeGithubService) ListRepositoriesByUserReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
- type FakeNotificationComposerScanner
- func (fake *FakeNotificationComposerScanner) Invocations() map[string][][]interface{}
- func (fake *FakeNotificationComposerScanner) Scan(arg1 lager.Logger, arg2 string, arg3 string, arg4 map[string]struct{}, ...) ([]db.Credential, error)
- func (fake *FakeNotificationComposerScanner) ScanArgsForCall(i int) (lager.Logger, string, string, map[string]struct{}, string, string, string)
- func (fake *FakeNotificationComposerScanner) ScanCallCount() int
- func (fake *FakeNotificationComposerScanner) ScanReturns(result1 []db.Credential, result2 error)
- func (fake *FakeNotificationComposerScanner) ScanReturnsOnCall(i int, result1 []db.Credential, result2 error)
- type FakeRepoChangeScheduler
- func (fake *FakeRepoChangeScheduler) Invocations() map[string][][]interface{}
- func (fake *FakeRepoChangeScheduler) ScheduleRepo(arg1 lager.Logger, arg2 db.Repository)
- func (fake *FakeRepoChangeScheduler) ScheduleRepoArgsForCall(i int) (lager.Logger, db.Repository)
- func (fake *FakeRepoChangeScheduler) ScheduleRepoCallCount() int
- type FakeRepoDiscovererGitHubClient
- func (fake *FakeRepoDiscovererGitHubClient) Invocations() map[string][][]interface{}
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrg(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgCallCount() int
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgReturns(result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUser(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserCallCount() int
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserReturns(result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
- type FakeRescannerScanner
- func (fake *FakeRescannerScanner) Invocations() map[string][][]interface{}
- func (fake *FakeRescannerScanner) Scan(arg1 lager.Logger, arg2 string, arg3 string, arg4 map[string]struct{}, ...) ([]db.Credential, error)
- func (fake *FakeRescannerScanner) ScanArgsForCall(i int) (lager.Logger, string, string, map[string]struct{}, string, string, string)
- func (fake *FakeRescannerScanner) ScanCallCount() int
- func (fake *FakeRescannerScanner) ScanReturns(result1 []db.Credential, result2 error)
- func (fake *FakeRescannerScanner) ScanReturnsOnCall(i int, result1 []db.Credential, result2 error)
- type FakeScheduler
- type FakeSchedulerChangeFetcher
- func (fake *FakeSchedulerChangeFetcher) Fetch(ctx context.Context, logger lager.Logger, owner string, name string, ...) error
- func (fake *FakeSchedulerChangeFetcher) FetchArgsForCall(i int) (context.Context, lager.Logger, string, string, bool)
- func (fake *FakeSchedulerChangeFetcher) FetchCallCount() int
- func (fake *FakeSchedulerChangeFetcher) FetchReturns(result1 error)
- func (fake *FakeSchedulerChangeFetcher) FetchReturnsOnCall(i int, result1 error)
- func (fake *FakeSchedulerChangeFetcher) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChangeFetcherNotificationComposer ¶
type FakeChangeFetcherNotificationComposer struct { ScanAndNotifyStub func(context.Context, lager.Logger, string, string, map[string]struct{}, string, string, string) error // contains filtered or unexported fields }
func (*FakeChangeFetcherNotificationComposer) Invocations ¶
func (fake *FakeChangeFetcherNotificationComposer) Invocations() map[string][][]interface{}
func (*FakeChangeFetcherNotificationComposer) ScanAndNotify ¶
func (*FakeChangeFetcherNotificationComposer) ScanAndNotifyArgsForCall ¶
func (*FakeChangeFetcherNotificationComposer) ScanAndNotifyCallCount ¶
func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyCallCount() int
func (*FakeChangeFetcherNotificationComposer) ScanAndNotifyReturns ¶
func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyReturns(result1 error)
func (*FakeChangeFetcherNotificationComposer) ScanAndNotifyReturnsOnCall ¶
func (fake *FakeChangeFetcherNotificationComposer) ScanAndNotifyReturnsOnCall(i int, result1 error)
type FakeClonerNotificationComposer ¶
type FakeClonerNotificationComposer struct { ScanAndNotifyStub func(context.Context, lager.Logger, string, string, map[string]struct{}, string, string, string) error // contains filtered or unexported fields }
func (*FakeClonerNotificationComposer) Invocations ¶
func (fake *FakeClonerNotificationComposer) Invocations() map[string][][]interface{}
func (*FakeClonerNotificationComposer) ScanAndNotify ¶
func (*FakeClonerNotificationComposer) ScanAndNotifyArgsForCall ¶
func (*FakeClonerNotificationComposer) ScanAndNotifyCallCount ¶
func (fake *FakeClonerNotificationComposer) ScanAndNotifyCallCount() int
func (*FakeClonerNotificationComposer) ScanAndNotifyReturns ¶
func (fake *FakeClonerNotificationComposer) ScanAndNotifyReturns(result1 error)
func (*FakeClonerNotificationComposer) ScanAndNotifyReturnsOnCall ¶
func (fake *FakeClonerNotificationComposer) ScanAndNotifyReturnsOnCall(i int, result1 error)
type FakeGitBranchCloneClient ¶
type FakeGitBranchCloneClient struct { CloneStub func(string, string) error BranchTargetsStub func(repoPath string) (map[string]string, error) // contains filtered or unexported fields }
func (*FakeGitBranchCloneClient) BranchTargets ¶
func (fake *FakeGitBranchCloneClient) BranchTargets(repoPath string) (map[string]string, error)
func (*FakeGitBranchCloneClient) BranchTargetsArgsForCall ¶
func (fake *FakeGitBranchCloneClient) BranchTargetsArgsForCall(i int) string
func (*FakeGitBranchCloneClient) BranchTargetsCallCount ¶
func (fake *FakeGitBranchCloneClient) BranchTargetsCallCount() int
func (*FakeGitBranchCloneClient) BranchTargetsReturns ¶
func (fake *FakeGitBranchCloneClient) BranchTargetsReturns(result1 map[string]string, result2 error)
func (*FakeGitBranchCloneClient) BranchTargetsReturnsOnCall ¶
func (fake *FakeGitBranchCloneClient) BranchTargetsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeGitBranchCloneClient) Clone ¶
func (fake *FakeGitBranchCloneClient) Clone(arg1 string, arg2 string) error
func (*FakeGitBranchCloneClient) CloneArgsForCall ¶
func (fake *FakeGitBranchCloneClient) CloneArgsForCall(i int) (string, string)
func (*FakeGitBranchCloneClient) CloneCallCount ¶
func (fake *FakeGitBranchCloneClient) CloneCallCount() int
func (*FakeGitBranchCloneClient) CloneReturns ¶
func (fake *FakeGitBranchCloneClient) CloneReturns(result1 error)
func (*FakeGitBranchCloneClient) CloneReturnsOnCall ¶
func (fake *FakeGitBranchCloneClient) CloneReturnsOnCall(i int, result1 error)
func (*FakeGitBranchCloneClient) Invocations ¶
func (fake *FakeGitBranchCloneClient) Invocations() map[string][][]interface{}
type FakeGitBranchCredentialsCounterClient ¶
type FakeGitBranchCredentialsCounterClient struct { BranchTargetsStub func(repoPath string) (map[string]string, error) BranchCredentialCountsStub func(lager.Logger, string, sniff.Sniffer) (map[string]uint, error) // contains filtered or unexported fields }
func (*FakeGitBranchCredentialsCounterClient) BranchCredentialCounts ¶
func (*FakeGitBranchCredentialsCounterClient) BranchCredentialCountsArgsForCall ¶
func (*FakeGitBranchCredentialsCounterClient) BranchCredentialCountsCallCount ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsCallCount() int
func (*FakeGitBranchCredentialsCounterClient) BranchCredentialCountsReturns ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsReturns(result1 map[string]uint, result2 error)
func (*FakeGitBranchCredentialsCounterClient) BranchCredentialCountsReturnsOnCall ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchCredentialCountsReturnsOnCall(i int, result1 map[string]uint, result2 error)
func (*FakeGitBranchCredentialsCounterClient) BranchTargets ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchTargets(repoPath string) (map[string]string, error)
func (*FakeGitBranchCredentialsCounterClient) BranchTargetsArgsForCall ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsArgsForCall(i int) string
func (*FakeGitBranchCredentialsCounterClient) BranchTargetsCallCount ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsCallCount() int
func (*FakeGitBranchCredentialsCounterClient) BranchTargetsReturns ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsReturns(result1 map[string]string, result2 error)
func (*FakeGitBranchCredentialsCounterClient) BranchTargetsReturnsOnCall ¶
func (fake *FakeGitBranchCredentialsCounterClient) BranchTargetsReturnsOnCall(i int, result1 map[string]string, result2 error)
func (*FakeGitBranchCredentialsCounterClient) Invocations ¶
func (fake *FakeGitBranchCredentialsCounterClient) Invocations() map[string][][]interface{}
type FakeGitFetchClient ¶
type FakeGitFetchClient struct { FetchStub func(string) (map[string][]string, error) // contains filtered or unexported fields }
func (*FakeGitFetchClient) Fetch ¶
func (fake *FakeGitFetchClient) Fetch(arg1 string) (map[string][]string, error)
func (*FakeGitFetchClient) FetchArgsForCall ¶
func (fake *FakeGitFetchClient) FetchArgsForCall(i int) string
func (*FakeGitFetchClient) FetchCallCount ¶
func (fake *FakeGitFetchClient) FetchCallCount() int
func (*FakeGitFetchClient) FetchReturns ¶
func (fake *FakeGitFetchClient) FetchReturns(result1 map[string][]string, result2 error)
func (*FakeGitFetchClient) FetchReturnsOnCall ¶
func (fake *FakeGitFetchClient) FetchReturnsOnCall(i int, result1 map[string][]string, result2 error)
func (*FakeGitFetchClient) Invocations ¶
func (fake *FakeGitFetchClient) Invocations() map[string][][]interface{}
type FakeGitGCClient ¶
type FakeGitGCClient struct { GCStub func(repoPath string) error // contains filtered or unexported fields }
func (*FakeGitGCClient) GC ¶
func (fake *FakeGitGCClient) GC(repoPath string) error
func (*FakeGitGCClient) GCArgsForCall ¶
func (fake *FakeGitGCClient) GCArgsForCall(i int) string
func (*FakeGitGCClient) GCCallCount ¶
func (fake *FakeGitGCClient) GCCallCount() int
func (*FakeGitGCClient) GCReturns ¶
func (fake *FakeGitGCClient) GCReturns(result1 error)
func (*FakeGitGCClient) GCReturnsOnCall ¶
func (fake *FakeGitGCClient) GCReturnsOnCall(i int, result1 error)
func (*FakeGitGCClient) Invocations ¶
func (fake *FakeGitGCClient) Invocations() map[string][][]interface{}
type FakeGitGetParentsDiffClient ¶
type FakeGitGetParentsDiffClient struct { GetParentsStub func(string, string) ([]string, error) DiffStub func(repoPath, parent, child string) (string, error) // contains filtered or unexported fields }
func (*FakeGitGetParentsDiffClient) DiffArgsForCall ¶
func (fake *FakeGitGetParentsDiffClient) DiffArgsForCall(i int) (string, string, string)
func (*FakeGitGetParentsDiffClient) DiffCallCount ¶
func (fake *FakeGitGetParentsDiffClient) DiffCallCount() int
func (*FakeGitGetParentsDiffClient) DiffReturns ¶
func (fake *FakeGitGetParentsDiffClient) DiffReturns(result1 string, result2 error)
func (*FakeGitGetParentsDiffClient) DiffReturnsOnCall ¶
func (fake *FakeGitGetParentsDiffClient) DiffReturnsOnCall(i int, result1 string, result2 error)
func (*FakeGitGetParentsDiffClient) GetParents ¶
func (fake *FakeGitGetParentsDiffClient) GetParents(arg1 string, arg2 string) ([]string, error)
func (*FakeGitGetParentsDiffClient) GetParentsArgsForCall ¶
func (fake *FakeGitGetParentsDiffClient) GetParentsArgsForCall(i int) (string, string)
func (*FakeGitGetParentsDiffClient) GetParentsCallCount ¶
func (fake *FakeGitGetParentsDiffClient) GetParentsCallCount() int
func (*FakeGitGetParentsDiffClient) GetParentsReturns ¶
func (fake *FakeGitGetParentsDiffClient) GetParentsReturns(result1 []string, result2 error)
func (*FakeGitGetParentsDiffClient) GetParentsReturnsOnCall ¶
func (fake *FakeGitGetParentsDiffClient) GetParentsReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeGitGetParentsDiffClient) Invocations ¶
func (fake *FakeGitGetParentsDiffClient) Invocations() map[string][][]interface{}
type FakeGithubRepositoryService ¶
type FakeGithubRepositoryService struct { ListByOrgStub func(ctx context.Context, org string, opt *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error) ListStub func(ctx context.Context, user string, opt *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error) GetStub func(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error) // contains filtered or unexported fields }
func (*FakeGithubRepositoryService) Get ¶
func (fake *FakeGithubRepositoryService) Get(ctx context.Context, owner string, repo string) (*github.Repository, *github.Response, error)
func (*FakeGithubRepositoryService) GetArgsForCall ¶
func (*FakeGithubRepositoryService) GetCallCount ¶
func (fake *FakeGithubRepositoryService) GetCallCount() int
func (*FakeGithubRepositoryService) GetReturns ¶
func (fake *FakeGithubRepositoryService) GetReturns(result1 *github.Repository, result2 *github.Response, result3 error)
func (*FakeGithubRepositoryService) GetReturnsOnCall ¶
func (fake *FakeGithubRepositoryService) GetReturnsOnCall(i int, result1 *github.Repository, result2 *github.Response, result3 error)
func (*FakeGithubRepositoryService) Invocations ¶
func (fake *FakeGithubRepositoryService) Invocations() map[string][][]interface{}
func (*FakeGithubRepositoryService) List ¶
func (fake *FakeGithubRepositoryService) List(ctx context.Context, user string, opt *github.RepositoryListOptions) ([]*github.Repository, *github.Response, error)
func (*FakeGithubRepositoryService) ListArgsForCall ¶
func (fake *FakeGithubRepositoryService) ListArgsForCall(i int) (context.Context, string, *github.RepositoryListOptions)
func (*FakeGithubRepositoryService) ListByOrg ¶
func (fake *FakeGithubRepositoryService) ListByOrg(ctx context.Context, org string, opt *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
func (*FakeGithubRepositoryService) ListByOrgArgsForCall ¶
func (fake *FakeGithubRepositoryService) ListByOrgArgsForCall(i int) (context.Context, string, *github.RepositoryListByOrgOptions)
func (*FakeGithubRepositoryService) ListByOrgCallCount ¶
func (fake *FakeGithubRepositoryService) ListByOrgCallCount() int
func (*FakeGithubRepositoryService) ListByOrgReturns ¶
func (fake *FakeGithubRepositoryService) ListByOrgReturns(result1 []*github.Repository, result2 *github.Response, result3 error)
func (*FakeGithubRepositoryService) ListByOrgReturnsOnCall ¶
func (fake *FakeGithubRepositoryService) ListByOrgReturnsOnCall(i int, result1 []*github.Repository, result2 *github.Response, result3 error)
func (*FakeGithubRepositoryService) ListCallCount ¶
func (fake *FakeGithubRepositoryService) ListCallCount() int
func (*FakeGithubRepositoryService) ListReturns ¶
func (fake *FakeGithubRepositoryService) ListReturns(result1 []*github.Repository, result2 *github.Response, result3 error)
func (*FakeGithubRepositoryService) ListReturnsOnCall ¶
func (fake *FakeGithubRepositoryService) ListReturnsOnCall(i int, result1 []*github.Repository, result2 *github.Response, result3 error)
type FakeGithubService ¶
type FakeGithubService struct { ListRepositoriesByOrgStub func(logger lager.Logger, orgName string) ([]revok.GitHubRepository, error) ListRepositoriesByUserStub func(logger lager.Logger, userName string) ([]revok.GitHubRepository, error) GetRepoStub func(logger lager.Logger, owner, repoName string) (*revok.GitHubRepository, error) // contains filtered or unexported fields }
func (*FakeGithubService) GetRepo ¶
func (fake *FakeGithubService) GetRepo(logger lager.Logger, owner string, repoName string) (*revok.GitHubRepository, error)
func (*FakeGithubService) GetRepoArgsForCall ¶
func (*FakeGithubService) GetRepoCallCount ¶
func (fake *FakeGithubService) GetRepoCallCount() int
func (*FakeGithubService) GetRepoReturns ¶
func (fake *FakeGithubService) GetRepoReturns(result1 *revok.GitHubRepository, result2 error)
func (*FakeGithubService) GetRepoReturnsOnCall ¶
func (fake *FakeGithubService) GetRepoReturnsOnCall(i int, result1 *revok.GitHubRepository, result2 error)
func (*FakeGithubService) Invocations ¶
func (fake *FakeGithubService) Invocations() map[string][][]interface{}
func (*FakeGithubService) ListRepositoriesByOrg ¶
func (fake *FakeGithubService) ListRepositoriesByOrg(logger lager.Logger, orgName string) ([]revok.GitHubRepository, error)
func (*FakeGithubService) ListRepositoriesByOrgArgsForCall ¶
func (fake *FakeGithubService) ListRepositoriesByOrgArgsForCall(i int) (lager.Logger, string)
func (*FakeGithubService) ListRepositoriesByOrgCallCount ¶
func (fake *FakeGithubService) ListRepositoriesByOrgCallCount() int
func (*FakeGithubService) ListRepositoriesByOrgReturns ¶
func (fake *FakeGithubService) ListRepositoriesByOrgReturns(result1 []revok.GitHubRepository, result2 error)
func (*FakeGithubService) ListRepositoriesByOrgReturnsOnCall ¶
func (fake *FakeGithubService) ListRepositoriesByOrgReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
func (*FakeGithubService) ListRepositoriesByUser ¶
func (fake *FakeGithubService) ListRepositoriesByUser(logger lager.Logger, userName string) ([]revok.GitHubRepository, error)
func (*FakeGithubService) ListRepositoriesByUserArgsForCall ¶
func (fake *FakeGithubService) ListRepositoriesByUserArgsForCall(i int) (lager.Logger, string)
func (*FakeGithubService) ListRepositoriesByUserCallCount ¶
func (fake *FakeGithubService) ListRepositoriesByUserCallCount() int
func (*FakeGithubService) ListRepositoriesByUserReturns ¶
func (fake *FakeGithubService) ListRepositoriesByUserReturns(result1 []revok.GitHubRepository, result2 error)
func (*FakeGithubService) ListRepositoriesByUserReturnsOnCall ¶
func (fake *FakeGithubService) ListRepositoriesByUserReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
type FakeNotificationComposerScanner ¶
type FakeNotificationComposerScanner struct { ScanStub func(lager.Logger, string, string, map[string]struct{}, string, string, string) ([]db.Credential, error) // contains filtered or unexported fields }
func (*FakeNotificationComposerScanner) Invocations ¶
func (fake *FakeNotificationComposerScanner) Invocations() map[string][][]interface{}
func (*FakeNotificationComposerScanner) ScanArgsForCall ¶
func (*FakeNotificationComposerScanner) ScanCallCount ¶
func (fake *FakeNotificationComposerScanner) ScanCallCount() int
func (*FakeNotificationComposerScanner) ScanReturns ¶
func (fake *FakeNotificationComposerScanner) ScanReturns(result1 []db.Credential, result2 error)
func (*FakeNotificationComposerScanner) ScanReturnsOnCall ¶
func (fake *FakeNotificationComposerScanner) ScanReturnsOnCall(i int, result1 []db.Credential, result2 error)
type FakeRepoChangeScheduler ¶
type FakeRepoChangeScheduler struct { ScheduleRepoStub func(lager.Logger, db.Repository) // contains filtered or unexported fields }
func (*FakeRepoChangeScheduler) Invocations ¶
func (fake *FakeRepoChangeScheduler) Invocations() map[string][][]interface{}
func (*FakeRepoChangeScheduler) ScheduleRepo ¶
func (fake *FakeRepoChangeScheduler) ScheduleRepo(arg1 lager.Logger, arg2 db.Repository)
func (*FakeRepoChangeScheduler) ScheduleRepoArgsForCall ¶
func (fake *FakeRepoChangeScheduler) ScheduleRepoArgsForCall(i int) (lager.Logger, db.Repository)
func (*FakeRepoChangeScheduler) ScheduleRepoCallCount ¶
func (fake *FakeRepoChangeScheduler) ScheduleRepoCallCount() int
type FakeRepoDiscovererGitHubClient ¶
type FakeRepoDiscovererGitHubClient struct { ListRepositoriesByOrgStub func(lager.Logger, string) ([]revok.GitHubRepository, error) ListRepositoriesByUserStub func(lager.Logger, string) ([]revok.GitHubRepository, error) // contains filtered or unexported fields }
func (*FakeRepoDiscovererGitHubClient) Invocations ¶
func (fake *FakeRepoDiscovererGitHubClient) Invocations() map[string][][]interface{}
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByOrg ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrg(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgArgsForCall ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgArgsForCall(i int) (lager.Logger, string)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgCallCount ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgCallCount() int
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgReturns ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgReturns(result1 []revok.GitHubRepository, result2 error)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgReturnsOnCall ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByOrgReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByUser ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUser(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByUserArgsForCall ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserArgsForCall(i int) (lager.Logger, string)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByUserCallCount ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserCallCount() int
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByUserReturns ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserReturns(result1 []revok.GitHubRepository, result2 error)
func (*FakeRepoDiscovererGitHubClient) ListRepositoriesByUserReturnsOnCall ¶
func (fake *FakeRepoDiscovererGitHubClient) ListRepositoriesByUserReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
type FakeRescannerScanner ¶
type FakeRescannerScanner struct { ScanStub func(lager.Logger, string, string, map[string]struct{}, string, string, string) ([]db.Credential, error) // contains filtered or unexported fields }
func (*FakeRescannerScanner) Invocations ¶
func (fake *FakeRescannerScanner) Invocations() map[string][][]interface{}
func (*FakeRescannerScanner) ScanArgsForCall ¶
func (*FakeRescannerScanner) ScanCallCount ¶
func (fake *FakeRescannerScanner) ScanCallCount() int
func (*FakeRescannerScanner) ScanReturns ¶
func (fake *FakeRescannerScanner) ScanReturns(result1 []db.Credential, result2 error)
func (*FakeRescannerScanner) ScanReturnsOnCall ¶
func (fake *FakeRescannerScanner) ScanReturnsOnCall(i int, result1 []db.Credential, result2 error)
type FakeScheduler ¶
type FakeScheduler struct { ScheduleWorkStub func(string, func()) // contains filtered or unexported fields }
func (*FakeScheduler) Invocations ¶
func (fake *FakeScheduler) Invocations() map[string][][]interface{}
func (*FakeScheduler) ScheduleWork ¶
func (fake *FakeScheduler) ScheduleWork(arg1 string, arg2 func())
func (*FakeScheduler) ScheduleWorkArgsForCall ¶
func (fake *FakeScheduler) ScheduleWorkArgsForCall(i int) (string, func())
func (*FakeScheduler) ScheduleWorkCallCount ¶
func (fake *FakeScheduler) ScheduleWorkCallCount() int
type FakeSchedulerChangeFetcher ¶
type FakeSchedulerChangeFetcher struct { FetchStub func(ctx context.Context, logger lager.Logger, owner, name string, reenable bool) error // contains filtered or unexported fields }
func (*FakeSchedulerChangeFetcher) FetchArgsForCall ¶
func (*FakeSchedulerChangeFetcher) FetchCallCount ¶
func (fake *FakeSchedulerChangeFetcher) FetchCallCount() int
func (*FakeSchedulerChangeFetcher) FetchReturns ¶
func (fake *FakeSchedulerChangeFetcher) FetchReturns(result1 error)
func (*FakeSchedulerChangeFetcher) FetchReturnsOnCall ¶
func (fake *FakeSchedulerChangeFetcher) FetchReturnsOnCall(i int, result1 error)
func (*FakeSchedulerChangeFetcher) Invocations ¶
func (fake *FakeSchedulerChangeFetcher) Invocations() map[string][][]interface{}
Source Files ¶
- fake_change_fetcher_notification_composer.go
- fake_cloner_notification_composer.go
- fake_git_branch_clone_client.go
- fake_git_branch_credentials_counter_client.go
- fake_git_fetch_client.go
- fake_git_gcclient.go
- fake_git_get_parents_diff_client.go
- fake_github_repository_service.go
- fake_github_service.go
- fake_notification_composer_scanner.go
- fake_repo_change_scheduler.go
- fake_repo_discoverer_git_hub_client.go
- fake_rescanner_scanner.go
- fake_scheduler.go
- fake_scheduler_change_fetcher.go