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.
Index ¶
- type FakeChangeFetcher
- func (fake *FakeChangeFetcher) Fetch(ctx context.Context, logger lager.Logger, owner string, name string, ...) error
- func (fake *FakeChangeFetcher) FetchArgsForCall(i int) (context.Context, lager.Logger, string, string, bool)
- func (fake *FakeChangeFetcher) FetchCallCount() int
- func (fake *FakeChangeFetcher) FetchReturns(result1 error)
- func (fake *FakeChangeFetcher) FetchReturnsOnCall(i int, result1 error)
- func (fake *FakeChangeFetcher) Invocations() map[string][][]interface{}
- 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 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 FakeGitHubClient
- func (fake *FakeGitHubClient) Invocations() map[string][][]interface{}
- func (fake *FakeGitHubClient) ListRepositoriesByOrg(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
- func (fake *FakeGitHubClient) ListRepositoriesByOrgArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGitHubClient) ListRepositoriesByOrgCallCount() int
- func (fake *FakeGitHubClient) ListRepositoriesByOrgReturns(result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeGitHubClient) ListRepositoriesByOrgReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeGitHubClient) ListRepositoriesByUser(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
- func (fake *FakeGitHubClient) ListRepositoriesByUserArgsForCall(i int) (lager.Logger, string)
- func (fake *FakeGitHubClient) ListRepositoriesByUserCallCount() int
- func (fake *FakeGitHubClient) ListRepositoriesByUserReturns(result1 []revok.GitHubRepository, result2 error)
- func (fake *FakeGitHubClient) ListRepositoriesByUserReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
- type FakeNotificationComposer
- func (fake *FakeNotificationComposer) Invocations() map[string][][]interface{}
- func (fake *FakeNotificationComposer) ScanAndNotify(arg1 context.Context, arg2 lager.Logger, arg3 string, arg4 string, ...) error
- func (fake *FakeNotificationComposer) ScanAndNotifyArgsForCall(i int) (context.Context, lager.Logger, string, string, map[string]struct{}, string, ...)
- func (fake *FakeNotificationComposer) ScanAndNotifyCallCount() int
- func (fake *FakeNotificationComposer) ScanAndNotifyReturns(result1 error)
- func (fake *FakeNotificationComposer) ScanAndNotifyReturnsOnCall(i int, result1 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 FakeScanner
- func (fake *FakeScanner) Invocations() map[string][][]interface{}
- func (fake *FakeScanner) Scan(arg1 lager.Logger, arg2 string, arg3 string, arg4 map[string]struct{}, ...) ([]db.Credential, error)
- func (fake *FakeScanner) ScanArgsForCall(i int) (lager.Logger, string, string, map[string]struct{}, string, string, string)
- func (fake *FakeScanner) ScanCallCount() int
- func (fake *FakeScanner) ScanReturns(result1 []db.Credential, result2 error)
- func (fake *FakeScanner) ScanReturnsOnCall(i int, result1 []db.Credential, result2 error)
- type FakeScheduler
- type FakeServer
- func (fake *FakeServer) BoshBlobs(arg1 context.Context, arg2 *revokpb.BoshBlobsRequest) (*revokpb.BoshBlobsResponse, error)
- func (fake *FakeServer) BoshBlobsArgsForCall(i int) (context.Context, *revokpb.BoshBlobsRequest)
- func (fake *FakeServer) BoshBlobsCallCount() int
- func (fake *FakeServer) BoshBlobsReturns(result1 *revokpb.BoshBlobsResponse, result2 error)
- func (fake *FakeServer) BoshBlobsReturnsOnCall(i int, result1 *revokpb.BoshBlobsResponse, result2 error)
- func (fake *FakeServer) GetCredentialCounts(arg1 context.Context, arg2 *revokpb.CredentialCountRequest) (*revokpb.CredentialCountResponse, error)
- func (fake *FakeServer) GetCredentialCountsArgsForCall(i int) (context.Context, *revokpb.CredentialCountRequest)
- func (fake *FakeServer) GetCredentialCountsCallCount() int
- func (fake *FakeServer) GetCredentialCountsReturns(result1 *revokpb.CredentialCountResponse, result2 error)
- func (fake *FakeServer) GetCredentialCountsReturnsOnCall(i int, result1 *revokpb.CredentialCountResponse, result2 error)
- func (fake *FakeServer) GetOrganizationCredentialCounts(arg1 context.Context, arg2 *revokpb.OrganizationCredentialCountRequest) (*revokpb.OrganizationCredentialCountResponse, error)
- func (fake *FakeServer) GetOrganizationCredentialCountsArgsForCall(i int) (context.Context, *revokpb.OrganizationCredentialCountRequest)
- func (fake *FakeServer) GetOrganizationCredentialCountsCallCount() int
- func (fake *FakeServer) GetOrganizationCredentialCountsReturns(result1 *revokpb.OrganizationCredentialCountResponse, result2 error)
- func (fake *FakeServer) GetOrganizationCredentialCountsReturnsOnCall(i int, result1 *revokpb.OrganizationCredentialCountResponse, result2 error)
- func (fake *FakeServer) GetRepositoryCredentialCounts(arg1 context.Context, arg2 *revokpb.RepositoryCredentialCountRequest) (*revokpb.RepositoryCredentialCountResponse, error)
- func (fake *FakeServer) GetRepositoryCredentialCountsArgsForCall(i int) (context.Context, *revokpb.RepositoryCredentialCountRequest)
- func (fake *FakeServer) GetRepositoryCredentialCountsCallCount() int
- func (fake *FakeServer) GetRepositoryCredentialCountsReturns(result1 *revokpb.RepositoryCredentialCountResponse, result2 error)
- func (fake *FakeServer) GetRepositoryCredentialCountsReturnsOnCall(i int, result1 *revokpb.RepositoryCredentialCountResponse, result2 error)
- func (fake *FakeServer) Invocations() map[string][][]interface{}
- func (fake *FakeServer) Search(arg1 *revokpb.SearchQuery, arg2 revokpb.Revok_SearchServer) error
- func (fake *FakeServer) SearchArgsForCall(i int) (*revokpb.SearchQuery, revokpb.Revok_SearchServer)
- func (fake *FakeServer) SearchCallCount() int
- func (fake *FakeServer) SearchReturns(result1 error)
- func (fake *FakeServer) SearchReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChangeFetcher ¶
type FakeChangeFetcher struct { FetchStub func(ctx context.Context, logger lager.Logger, owner, name string, reenable bool) error // contains filtered or unexported fields }
func (*FakeChangeFetcher) FetchArgsForCall ¶
func (*FakeChangeFetcher) FetchCallCount ¶
func (fake *FakeChangeFetcher) FetchCallCount() int
func (*FakeChangeFetcher) FetchReturns ¶
func (fake *FakeChangeFetcher) FetchReturns(result1 error)
func (*FakeChangeFetcher) FetchReturnsOnCall ¶
func (fake *FakeChangeFetcher) FetchReturnsOnCall(i int, result1 error)
func (*FakeChangeFetcher) Invocations ¶
func (fake *FakeChangeFetcher) Invocations() map[string][][]interface{}
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 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 FakeGitHubClient ¶
type FakeGitHubClient struct { ListRepositoriesByOrgStub func(lager.Logger, string) ([]revok.GitHubRepository, error) ListRepositoriesByUserStub func(lager.Logger, string) ([]revok.GitHubRepository, error) // contains filtered or unexported fields }
func (*FakeGitHubClient) Invocations ¶
func (fake *FakeGitHubClient) Invocations() map[string][][]interface{}
func (*FakeGitHubClient) ListRepositoriesByOrg ¶
func (fake *FakeGitHubClient) ListRepositoriesByOrg(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
func (*FakeGitHubClient) ListRepositoriesByOrgArgsForCall ¶
func (fake *FakeGitHubClient) ListRepositoriesByOrgArgsForCall(i int) (lager.Logger, string)
func (*FakeGitHubClient) ListRepositoriesByOrgCallCount ¶
func (fake *FakeGitHubClient) ListRepositoriesByOrgCallCount() int
func (*FakeGitHubClient) ListRepositoriesByOrgReturns ¶
func (fake *FakeGitHubClient) ListRepositoriesByOrgReturns(result1 []revok.GitHubRepository, result2 error)
func (*FakeGitHubClient) ListRepositoriesByOrgReturnsOnCall ¶
func (fake *FakeGitHubClient) ListRepositoriesByOrgReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
func (*FakeGitHubClient) ListRepositoriesByUser ¶
func (fake *FakeGitHubClient) ListRepositoriesByUser(arg1 lager.Logger, arg2 string) ([]revok.GitHubRepository, error)
func (*FakeGitHubClient) ListRepositoriesByUserArgsForCall ¶
func (fake *FakeGitHubClient) ListRepositoriesByUserArgsForCall(i int) (lager.Logger, string)
func (*FakeGitHubClient) ListRepositoriesByUserCallCount ¶
func (fake *FakeGitHubClient) ListRepositoriesByUserCallCount() int
func (*FakeGitHubClient) ListRepositoriesByUserReturns ¶
func (fake *FakeGitHubClient) ListRepositoriesByUserReturns(result1 []revok.GitHubRepository, result2 error)
func (*FakeGitHubClient) ListRepositoriesByUserReturnsOnCall ¶
func (fake *FakeGitHubClient) ListRepositoriesByUserReturnsOnCall(i int, result1 []revok.GitHubRepository, result2 error)
type FakeNotificationComposer ¶
type FakeNotificationComposer struct { ScanAndNotifyStub func(context.Context, lager.Logger, string, string, map[string]struct{}, string, string, string) error // contains filtered or unexported fields }
func (*FakeNotificationComposer) Invocations ¶
func (fake *FakeNotificationComposer) Invocations() map[string][][]interface{}
func (*FakeNotificationComposer) ScanAndNotify ¶
func (*FakeNotificationComposer) ScanAndNotifyArgsForCall ¶
func (*FakeNotificationComposer) ScanAndNotifyCallCount ¶
func (fake *FakeNotificationComposer) ScanAndNotifyCallCount() int
func (*FakeNotificationComposer) ScanAndNotifyReturns ¶
func (fake *FakeNotificationComposer) ScanAndNotifyReturns(result1 error)
func (*FakeNotificationComposer) ScanAndNotifyReturnsOnCall ¶
func (fake *FakeNotificationComposer) ScanAndNotifyReturnsOnCall(i int, result1 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 FakeScanner ¶
type FakeScanner struct { ScanStub func(lager.Logger, string, string, map[string]struct{}, string, string, string) ([]db.Credential, error) // contains filtered or unexported fields }
func (*FakeScanner) Invocations ¶
func (fake *FakeScanner) Invocations() map[string][][]interface{}
func (*FakeScanner) ScanArgsForCall ¶
func (*FakeScanner) ScanCallCount ¶
func (fake *FakeScanner) ScanCallCount() int
func (*FakeScanner) ScanReturns ¶
func (fake *FakeScanner) ScanReturns(result1 []db.Credential, result2 error)
func (*FakeScanner) ScanReturnsOnCall ¶
func (fake *FakeScanner) 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 FakeServer ¶
type FakeServer struct { GetCredentialCountsStub func(context.Context, *revokpb.CredentialCountRequest) (*revokpb.CredentialCountResponse, error) GetOrganizationCredentialCountsStub func(context.Context, *revokpb.OrganizationCredentialCountRequest) (*revokpb.OrganizationCredentialCountResponse, error) GetRepositoryCredentialCountsStub func(context.Context, *revokpb.RepositoryCredentialCountRequest) (*revokpb.RepositoryCredentialCountResponse, error) SearchStub func(*revokpb.SearchQuery, revokpb.Revok_SearchServer) error BoshBlobsStub func(context.Context, *revokpb.BoshBlobsRequest) (*revokpb.BoshBlobsResponse, error) // contains filtered or unexported fields }
func (*FakeServer) BoshBlobs ¶
func (fake *FakeServer) BoshBlobs(arg1 context.Context, arg2 *revokpb.BoshBlobsRequest) (*revokpb.BoshBlobsResponse, error)
func (*FakeServer) BoshBlobsArgsForCall ¶
func (fake *FakeServer) BoshBlobsArgsForCall(i int) (context.Context, *revokpb.BoshBlobsRequest)
func (*FakeServer) BoshBlobsCallCount ¶
func (fake *FakeServer) BoshBlobsCallCount() int
func (*FakeServer) BoshBlobsReturns ¶
func (fake *FakeServer) BoshBlobsReturns(result1 *revokpb.BoshBlobsResponse, result2 error)
func (*FakeServer) BoshBlobsReturnsOnCall ¶
func (fake *FakeServer) BoshBlobsReturnsOnCall(i int, result1 *revokpb.BoshBlobsResponse, result2 error)
func (*FakeServer) GetCredentialCounts ¶
func (fake *FakeServer) GetCredentialCounts(arg1 context.Context, arg2 *revokpb.CredentialCountRequest) (*revokpb.CredentialCountResponse, error)
func (*FakeServer) GetCredentialCountsArgsForCall ¶
func (fake *FakeServer) GetCredentialCountsArgsForCall(i int) (context.Context, *revokpb.CredentialCountRequest)
func (*FakeServer) GetCredentialCountsCallCount ¶
func (fake *FakeServer) GetCredentialCountsCallCount() int
func (*FakeServer) GetCredentialCountsReturns ¶
func (fake *FakeServer) GetCredentialCountsReturns(result1 *revokpb.CredentialCountResponse, result2 error)
func (*FakeServer) GetCredentialCountsReturnsOnCall ¶
func (fake *FakeServer) GetCredentialCountsReturnsOnCall(i int, result1 *revokpb.CredentialCountResponse, result2 error)
func (*FakeServer) GetOrganizationCredentialCounts ¶
func (fake *FakeServer) GetOrganizationCredentialCounts(arg1 context.Context, arg2 *revokpb.OrganizationCredentialCountRequest) (*revokpb.OrganizationCredentialCountResponse, error)
func (*FakeServer) GetOrganizationCredentialCountsArgsForCall ¶
func (fake *FakeServer) GetOrganizationCredentialCountsArgsForCall(i int) (context.Context, *revokpb.OrganizationCredentialCountRequest)
func (*FakeServer) GetOrganizationCredentialCountsCallCount ¶
func (fake *FakeServer) GetOrganizationCredentialCountsCallCount() int
func (*FakeServer) GetOrganizationCredentialCountsReturns ¶
func (fake *FakeServer) GetOrganizationCredentialCountsReturns(result1 *revokpb.OrganizationCredentialCountResponse, result2 error)
func (*FakeServer) GetOrganizationCredentialCountsReturnsOnCall ¶
func (fake *FakeServer) GetOrganizationCredentialCountsReturnsOnCall(i int, result1 *revokpb.OrganizationCredentialCountResponse, result2 error)
func (*FakeServer) GetRepositoryCredentialCounts ¶
func (fake *FakeServer) GetRepositoryCredentialCounts(arg1 context.Context, arg2 *revokpb.RepositoryCredentialCountRequest) (*revokpb.RepositoryCredentialCountResponse, error)
func (*FakeServer) GetRepositoryCredentialCountsArgsForCall ¶
func (fake *FakeServer) GetRepositoryCredentialCountsArgsForCall(i int) (context.Context, *revokpb.RepositoryCredentialCountRequest)
func (*FakeServer) GetRepositoryCredentialCountsCallCount ¶
func (fake *FakeServer) GetRepositoryCredentialCountsCallCount() int
func (*FakeServer) GetRepositoryCredentialCountsReturns ¶
func (fake *FakeServer) GetRepositoryCredentialCountsReturns(result1 *revokpb.RepositoryCredentialCountResponse, result2 error)
func (*FakeServer) GetRepositoryCredentialCountsReturnsOnCall ¶
func (fake *FakeServer) GetRepositoryCredentialCountsReturnsOnCall(i int, result1 *revokpb.RepositoryCredentialCountResponse, result2 error)
func (*FakeServer) Invocations ¶
func (fake *FakeServer) Invocations() map[string][][]interface{}
func (*FakeServer) Search ¶
func (fake *FakeServer) Search(arg1 *revokpb.SearchQuery, arg2 revokpb.Revok_SearchServer) error
func (*FakeServer) SearchArgsForCall ¶
func (fake *FakeServer) SearchArgsForCall(i int) (*revokpb.SearchQuery, revokpb.Revok_SearchServer)
func (*FakeServer) SearchCallCount ¶
func (fake *FakeServer) SearchCallCount() int
func (*FakeServer) SearchReturns ¶
func (fake *FakeServer) SearchReturns(result1 error)
func (*FakeServer) SearchReturnsOnCall ¶
func (fake *FakeServer) SearchReturnsOnCall(i int, result1 error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.