Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Code generated by counterfeiter. DO NOT EDIT. Copyright (c) 2026 Benjamin Borbe All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
- type ContentReader
- func (fake *ContentReader) GetContent(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)
- func (fake *ContentReader) GetContentArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *ContentReader) GetContentCallCount() int
- func (fake *ContentReader) GetContentCalls(stub func(context.Context, string, string, string, string) ([]byte, error))
- func (fake *ContentReader) GetContentReturns(result1 []byte, result2 error)
- func (fake *ContentReader) GetContentReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ContentReader) Invocations() map[string][][]interface{}
- func (fake *ContentReader) IsNotFound(arg1 error) bool
- func (fake *ContentReader) IsNotFoundArgsForCall(i int) error
- func (fake *ContentReader) IsNotFoundCallCount() int
- func (fake *ContentReader) IsNotFoundCalls(stub func(error) bool)
- func (fake *ContentReader) IsNotFoundReturns(result1 bool)
- func (fake *ContentReader) IsNotFoundReturnsOnCall(i int, result1 bool)
- func (fake *ContentReader) ListDir(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]string, error)
- func (fake *ContentReader) ListDirArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *ContentReader) ListDirCallCount() int
- func (fake *ContentReader) ListDirCalls(stub func(context.Context, string, string, string, string) ([]string, error))
- func (fake *ContentReader) ListDirReturns(result1 []string, result2 error)
- func (fake *ContentReader) ListDirReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *ContentReader) ListPRFiles(arg1 context.Context, arg2 string, arg3 string, arg4 int) ([]string, error)
- func (fake *ContentReader) ListPRFilesArgsForCall(i int) (context.Context, string, string, int)
- func (fake *ContentReader) ListPRFilesCallCount() int
- func (fake *ContentReader) ListPRFilesCalls(stub func(context.Context, string, string, int) ([]string, error))
- func (fake *ContentReader) ListPRFilesReturns(result1 []string, result2 error)
- func (fake *ContentReader) ListPRFilesReturnsOnCall(i int, result1 []string, result2 error)
- type GitHubClient
- func (fake *GitHubClient) GetContent(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)
- func (fake *GitHubClient) GetContentArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *GitHubClient) GetContentCallCount() int
- func (fake *GitHubClient) GetContentCalls(stub func(context.Context, string, string, string, string) ([]byte, error))
- func (fake *GitHubClient) GetContentReturns(result1 []byte, result2 error)
- func (fake *GitHubClient) GetContentReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *GitHubClient) GetPRDetails(arg1 context.Context, arg2 string, arg3 string, arg4 int) (pkg.PRDetails, error)
- func (fake *GitHubClient) GetPRDetailsArgsForCall(i int) (context.Context, string, string, int)
- func (fake *GitHubClient) GetPRDetailsCallCount() int
- func (fake *GitHubClient) GetPRDetailsCalls(stub func(context.Context, string, string, int) (pkg.PRDetails, error))
- func (fake *GitHubClient) GetPRDetailsReturns(result1 pkg.PRDetails, result2 error)
- func (fake *GitHubClient) GetPRDetailsReturnsOnCall(i int, result1 pkg.PRDetails, result2 error)
- func (fake *GitHubClient) Invocations() map[string][][]interface{}
- func (fake *GitHubClient) IsNotFound(arg1 error) bool
- func (fake *GitHubClient) IsNotFoundArgsForCall(i int) error
- func (fake *GitHubClient) IsNotFoundCallCount() int
- func (fake *GitHubClient) IsNotFoundCalls(stub func(error) bool)
- func (fake *GitHubClient) IsNotFoundReturns(result1 bool)
- func (fake *GitHubClient) IsNotFoundReturnsOnCall(i int, result1 bool)
- func (fake *GitHubClient) ListDir(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]string, error)
- func (fake *GitHubClient) ListDirArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *GitHubClient) ListDirCallCount() int
- func (fake *GitHubClient) ListDirCalls(stub func(context.Context, string, string, string, string) ([]string, error))
- func (fake *GitHubClient) ListDirReturns(result1 []string, result2 error)
- func (fake *GitHubClient) ListDirReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *GitHubClient) ListPRFiles(arg1 context.Context, arg2 string, arg3 string, arg4 int) ([]string, error)
- func (fake *GitHubClient) ListPRFilesArgsForCall(i int) (context.Context, string, string, int)
- func (fake *GitHubClient) ListPRFilesCallCount() int
- func (fake *GitHubClient) ListPRFilesCalls(stub func(context.Context, string, string, int) ([]string, error))
- func (fake *GitHubClient) ListPRFilesReturns(result1 []string, result2 error)
- func (fake *GitHubClient) ListPRFilesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *GitHubClient) SearchPRs(arg1 context.Context, arg2 string, arg3 time.DateTime, arg4 int) (pkg.SearchResult, error)
- func (fake *GitHubClient) SearchPRsArgsForCall(i int) (context.Context, string, time.DateTime, int)
- func (fake *GitHubClient) SearchPRsCallCount() int
- func (fake *GitHubClient) SearchPRsCalls(...)
- func (fake *GitHubClient) SearchPRsReturns(result1 pkg.SearchResult, result2 error)
- func (fake *GitHubClient) SearchPRsReturnsOnCall(i int, result1 pkg.SearchResult, result2 error)
- type Metrics
- func (fake *Metrics) IncFilterSkipped(arg1 string)
- func (fake *Metrics) IncFilterSkippedArgsForCall(i int) string
- func (fake *Metrics) IncFilterSkippedCallCount() int
- func (fake *Metrics) IncFilterSkippedCalls(stub func(string))
- func (fake *Metrics) IncPollCycle(arg1 string)
- func (fake *Metrics) IncPollCycleArgsForCall(i int) string
- func (fake *Metrics) IncPollCycleCallCount() int
- func (fake *Metrics) IncPollCycleCalls(stub func(string))
- func (fake *Metrics) IncPublished(arg1 string)
- func (fake *Metrics) IncPublishedArgsForCall(i int) string
- func (fake *Metrics) IncPublishedCallCount() int
- func (fake *Metrics) IncPublishedCalls(stub func(string))
- func (fake *Metrics) IncReposScanned()
- func (fake *Metrics) IncReposScannedCallCount() int
- func (fake *Metrics) IncReposScannedCalls(stub func())
- func (fake *Metrics) Invocations() map[string][][]interface{}
- type TaskCreationFilter
- func (fake *TaskCreationFilter) Invocations() map[string][][]interface{}
- func (fake *TaskCreationFilter) Skip(arg1 filter.PR) bool
- func (fake *TaskCreationFilter) SkipArgsForCall(i int) filter.PR
- func (fake *TaskCreationFilter) SkipCallCount() int
- func (fake *TaskCreationFilter) SkipCalls(stub func(filter.PR) bool)
- func (fake *TaskCreationFilter) SkipReturns(result1 bool)
- func (fake *TaskCreationFilter) SkipReturnsOnCall(i int, result1 bool)
- type Watcher
- func (fake *Watcher) Invocations() map[string][][]interface{}
- func (fake *Watcher) Poll(arg1 context.Context) error
- func (fake *Watcher) PollArgsForCall(i int) context.Context
- func (fake *Watcher) PollCallCount() int
- func (fake *Watcher) PollCalls(stub func(context.Context) error)
- func (fake *Watcher) PollReturns(result1 error)
- func (fake *Watcher) PollReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentReader ¶
type ContentReader struct {
GetContentStub func(context.Context, string, string, string, string) ([]byte, error)
IsNotFoundStub func(error) bool
ListDirStub func(context.Context, string, string, string, string) ([]string, error)
ListPRFilesStub func(context.Context, string, string, int) ([]string, error)
// contains filtered or unexported fields
}
func (*ContentReader) GetContent ¶
func (*ContentReader) GetContentArgsForCall ¶
func (*ContentReader) GetContentCallCount ¶
func (fake *ContentReader) GetContentCallCount() int
func (*ContentReader) GetContentCalls ¶
func (*ContentReader) GetContentReturns ¶
func (fake *ContentReader) GetContentReturns(result1 []byte, result2 error)
func (*ContentReader) GetContentReturnsOnCall ¶
func (fake *ContentReader) GetContentReturnsOnCall(i int, result1 []byte, result2 error)
func (*ContentReader) Invocations ¶
func (fake *ContentReader) Invocations() map[string][][]interface{}
func (*ContentReader) IsNotFound ¶
func (fake *ContentReader) IsNotFound(arg1 error) bool
func (*ContentReader) IsNotFoundArgsForCall ¶
func (fake *ContentReader) IsNotFoundArgsForCall(i int) error
func (*ContentReader) IsNotFoundCallCount ¶
func (fake *ContentReader) IsNotFoundCallCount() int
func (*ContentReader) IsNotFoundCalls ¶
func (fake *ContentReader) IsNotFoundCalls(stub func(error) bool)
func (*ContentReader) IsNotFoundReturns ¶
func (fake *ContentReader) IsNotFoundReturns(result1 bool)
func (*ContentReader) IsNotFoundReturnsOnCall ¶
func (fake *ContentReader) IsNotFoundReturnsOnCall(i int, result1 bool)
func (*ContentReader) ListDirArgsForCall ¶
func (*ContentReader) ListDirCallCount ¶
func (fake *ContentReader) ListDirCallCount() int
func (*ContentReader) ListDirCalls ¶
func (*ContentReader) ListDirReturns ¶
func (fake *ContentReader) ListDirReturns(result1 []string, result2 error)
func (*ContentReader) ListDirReturnsOnCall ¶
func (fake *ContentReader) ListDirReturnsOnCall(i int, result1 []string, result2 error)
func (*ContentReader) ListPRFiles ¶
func (*ContentReader) ListPRFilesArgsForCall ¶
func (*ContentReader) ListPRFilesCallCount ¶
func (fake *ContentReader) ListPRFilesCallCount() int
func (*ContentReader) ListPRFilesCalls ¶
func (*ContentReader) ListPRFilesReturns ¶
func (fake *ContentReader) ListPRFilesReturns(result1 []string, result2 error)
func (*ContentReader) ListPRFilesReturnsOnCall ¶
func (fake *ContentReader) ListPRFilesReturnsOnCall(i int, result1 []string, result2 error)
type GitHubClient ¶
type GitHubClient struct {
GetContentStub func(context.Context, string, string, string, string) ([]byte, error)
GetPRDetailsStub func(context.Context, string, string, int) (pkg.PRDetails, error)
IsNotFoundStub func(error) bool
ListDirStub func(context.Context, string, string, string, string) ([]string, error)
ListPRFilesStub func(context.Context, string, string, int) ([]string, error)
SearchPRsStub func(context.Context, string, time.DateTime, int) (pkg.SearchResult, error)
// contains filtered or unexported fields
}
func (*GitHubClient) GetContent ¶
func (*GitHubClient) GetContentArgsForCall ¶
func (*GitHubClient) GetContentCallCount ¶
func (fake *GitHubClient) GetContentCallCount() int
func (*GitHubClient) GetContentCalls ¶
func (*GitHubClient) GetContentReturns ¶
func (fake *GitHubClient) GetContentReturns(result1 []byte, result2 error)
func (*GitHubClient) GetContentReturnsOnCall ¶
func (fake *GitHubClient) GetContentReturnsOnCall(i int, result1 []byte, result2 error)
func (*GitHubClient) GetPRDetails ¶
func (*GitHubClient) GetPRDetailsArgsForCall ¶
func (*GitHubClient) GetPRDetailsCallCount ¶
func (fake *GitHubClient) GetPRDetailsCallCount() int
func (*GitHubClient) GetPRDetailsCalls ¶
func (*GitHubClient) GetPRDetailsReturns ¶
func (fake *GitHubClient) GetPRDetailsReturns(result1 pkg.PRDetails, result2 error)
func (*GitHubClient) GetPRDetailsReturnsOnCall ¶
func (fake *GitHubClient) GetPRDetailsReturnsOnCall(i int, result1 pkg.PRDetails, result2 error)
func (*GitHubClient) Invocations ¶
func (fake *GitHubClient) Invocations() map[string][][]interface{}
func (*GitHubClient) IsNotFound ¶
func (fake *GitHubClient) IsNotFound(arg1 error) bool
func (*GitHubClient) IsNotFoundArgsForCall ¶
func (fake *GitHubClient) IsNotFoundArgsForCall(i int) error
func (*GitHubClient) IsNotFoundCallCount ¶
func (fake *GitHubClient) IsNotFoundCallCount() int
func (*GitHubClient) IsNotFoundCalls ¶
func (fake *GitHubClient) IsNotFoundCalls(stub func(error) bool)
func (*GitHubClient) IsNotFoundReturns ¶
func (fake *GitHubClient) IsNotFoundReturns(result1 bool)
func (*GitHubClient) IsNotFoundReturnsOnCall ¶
func (fake *GitHubClient) IsNotFoundReturnsOnCall(i int, result1 bool)
func (*GitHubClient) ListDirArgsForCall ¶
func (*GitHubClient) ListDirCallCount ¶
func (fake *GitHubClient) ListDirCallCount() int
func (*GitHubClient) ListDirCalls ¶
func (*GitHubClient) ListDirReturns ¶
func (fake *GitHubClient) ListDirReturns(result1 []string, result2 error)
func (*GitHubClient) ListDirReturnsOnCall ¶
func (fake *GitHubClient) ListDirReturnsOnCall(i int, result1 []string, result2 error)
func (*GitHubClient) ListPRFiles ¶
func (*GitHubClient) ListPRFilesArgsForCall ¶
func (*GitHubClient) ListPRFilesCallCount ¶
func (fake *GitHubClient) ListPRFilesCallCount() int
func (*GitHubClient) ListPRFilesCalls ¶
func (*GitHubClient) ListPRFilesReturns ¶
func (fake *GitHubClient) ListPRFilesReturns(result1 []string, result2 error)
func (*GitHubClient) ListPRFilesReturnsOnCall ¶
func (fake *GitHubClient) ListPRFilesReturnsOnCall(i int, result1 []string, result2 error)
func (*GitHubClient) SearchPRs ¶
func (fake *GitHubClient) SearchPRs(arg1 context.Context, arg2 string, arg3 time.DateTime, arg4 int) (pkg.SearchResult, error)
func (*GitHubClient) SearchPRsArgsForCall ¶
func (*GitHubClient) SearchPRsCallCount ¶
func (fake *GitHubClient) SearchPRsCallCount() int
func (*GitHubClient) SearchPRsCalls ¶
func (fake *GitHubClient) SearchPRsCalls(stub func(context.Context, string, time.DateTime, int) (pkg.SearchResult, error))
func (*GitHubClient) SearchPRsReturns ¶
func (fake *GitHubClient) SearchPRsReturns(result1 pkg.SearchResult, result2 error)
func (*GitHubClient) SearchPRsReturnsOnCall ¶
func (fake *GitHubClient) SearchPRsReturnsOnCall(i int, result1 pkg.SearchResult, result2 error)
type Metrics ¶
type Metrics struct {
IncFilterSkippedStub func(string)
IncPollCycleStub func(string)
IncPublishedStub func(string)
IncReposScannedStub func()
// contains filtered or unexported fields
}
func (*Metrics) IncFilterSkipped ¶
func (*Metrics) IncFilterSkippedArgsForCall ¶
func (*Metrics) IncFilterSkippedCallCount ¶
func (*Metrics) IncFilterSkippedCalls ¶
func (*Metrics) IncPollCycle ¶
func (*Metrics) IncPollCycleArgsForCall ¶
func (*Metrics) IncPollCycleCallCount ¶
func (*Metrics) IncPollCycleCalls ¶
func (*Metrics) IncPublished ¶
func (*Metrics) IncPublishedArgsForCall ¶
func (*Metrics) IncPublishedCallCount ¶
func (*Metrics) IncPublishedCalls ¶
func (*Metrics) IncReposScanned ¶
func (fake *Metrics) IncReposScanned()
func (*Metrics) IncReposScannedCallCount ¶
func (*Metrics) IncReposScannedCalls ¶
func (fake *Metrics) IncReposScannedCalls(stub func())
func (*Metrics) Invocations ¶
type TaskCreationFilter ¶
type TaskCreationFilter struct {
SkipStub func(filter.PR) bool
// contains filtered or unexported fields
}
func (*TaskCreationFilter) Invocations ¶
func (fake *TaskCreationFilter) Invocations() map[string][][]interface{}
func (*TaskCreationFilter) SkipArgsForCall ¶
func (fake *TaskCreationFilter) SkipArgsForCall(i int) filter.PR
func (*TaskCreationFilter) SkipCallCount ¶
func (fake *TaskCreationFilter) SkipCallCount() int
func (*TaskCreationFilter) SkipCalls ¶
func (fake *TaskCreationFilter) SkipCalls(stub func(filter.PR) bool)
func (*TaskCreationFilter) SkipReturns ¶
func (fake *TaskCreationFilter) SkipReturns(result1 bool)
func (*TaskCreationFilter) SkipReturnsOnCall ¶
func (fake *TaskCreationFilter) SkipReturnsOnCall(i int, result1 bool)
type Watcher ¶
type Watcher struct {
PollStub func(context.Context) error
// contains filtered or unexported fields
}