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.
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 FileContentFetcher
- func (fake *FileContentFetcher) GetFileContent(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)
- func (fake *FileContentFetcher) GetFileContentArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *FileContentFetcher) GetFileContentCallCount() int
- func (fake *FileContentFetcher) GetFileContentCalls(stub func(context.Context, string, string, string, string) ([]byte, error))
- func (fake *FileContentFetcher) GetFileContentReturns(result1 []byte, result2 error)
- func (fake *FileContentFetcher) GetFileContentReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FileContentFetcher) Invocations() map[string][][]interface{}
- type GitHubClient
- func (fake *GitHubClient) GetDefaultBranch(arg1 context.Context, arg2 string, arg3 string) (string, error)
- func (fake *GitHubClient) GetDefaultBranchArgsForCall(i int) (context.Context, string, string)
- func (fake *GitHubClient) GetDefaultBranchCallCount() int
- func (fake *GitHubClient) GetDefaultBranchCalls(stub func(context.Context, string, string) (string, error))
- func (fake *GitHubClient) GetDefaultBranchReturns(result1 string, result2 error)
- func (fake *GitHubClient) GetDefaultBranchReturnsOnCall(i int, result1 string, result2 error)
- func (fake *GitHubClient) GetFileContent(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) ([]byte, error)
- func (fake *GitHubClient) GetFileContentArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *GitHubClient) GetFileContentCallCount() int
- func (fake *GitHubClient) GetFileContentCalls(stub func(context.Context, string, string, string, string) ([]byte, error))
- func (fake *GitHubClient) GetFileContentReturns(result1 []byte, result2 error)
- func (fake *GitHubClient) GetFileContentReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *GitHubClient) GetJobLog(arg1 context.Context, arg2 string, arg3 string, arg4 int64) ([]byte, error)
- func (fake *GitHubClient) GetJobLogArgsForCall(i int) (context.Context, string, string, int64)
- func (fake *GitHubClient) GetJobLogCallCount() int
- func (fake *GitHubClient) GetJobLogCalls(stub func(context.Context, string, string, int64) ([]byte, error))
- func (fake *GitHubClient) GetJobLogReturns(result1 []byte, result2 error)
- func (fake *GitHubClient) GetJobLogReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *GitHubClient) GetJobsForRun(arg1 context.Context, arg2 string, arg3 string, arg4 int64) ([]pkg.WorkflowJobInfo, error)
- func (fake *GitHubClient) GetJobsForRunArgsForCall(i int) (context.Context, string, string, int64)
- func (fake *GitHubClient) GetJobsForRunCallCount() int
- func (fake *GitHubClient) GetJobsForRunCalls(...)
- func (fake *GitHubClient) GetJobsForRunReturns(result1 []pkg.WorkflowJobInfo, result2 error)
- func (fake *GitHubClient) GetJobsForRunReturnsOnCall(i int, result1 []pkg.WorkflowJobInfo, result2 error)
- func (fake *GitHubClient) GetWorkflowRuns(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]pkg.WorkflowRun, error)
- func (fake *GitHubClient) GetWorkflowRunsArgsForCall(i int) (context.Context, string, string, string)
- func (fake *GitHubClient) GetWorkflowRunsCallCount() int
- func (fake *GitHubClient) GetWorkflowRunsCalls(stub func(context.Context, string, string, string) ([]pkg.WorkflowRun, error))
- func (fake *GitHubClient) GetWorkflowRunsReturns(result1 []pkg.WorkflowRun, result2 error)
- func (fake *GitHubClient) GetWorkflowRunsReturnsOnCall(i int, result1 []pkg.WorkflowRun, result2 error)
- func (fake *GitHubClient) Invocations() map[string][][]interface{}
- func (fake *GitHubClient) ListOwnerRepos(arg1 context.Context, arg2 string) ([]string, error)
- func (fake *GitHubClient) ListOwnerReposArgsForCall(i int) (context.Context, string)
- func (fake *GitHubClient) ListOwnerReposCallCount() int
- func (fake *GitHubClient) ListOwnerReposCalls(stub func(context.Context, string) ([]string, error))
- func (fake *GitHubClient) ListOwnerReposReturns(result1 []string, result2 error)
- func (fake *GitHubClient) ListOwnerReposReturnsOnCall(i int, result1 []string, result2 error)
- type MaintenanceLoader
- func (fake *MaintenanceLoader) Invocations() map[string][][]interface{}
- func (fake *MaintenanceLoader) LoadOverrides(arg1 context.Context, arg2 string, arg3 string, arg4 string) maintenance.GithubBuildConfig
- func (fake *MaintenanceLoader) LoadOverridesArgsForCall(i int) (context.Context, string, string, string)
- func (fake *MaintenanceLoader) LoadOverridesCallCount() int
- func (fake *MaintenanceLoader) LoadOverridesCalls(...)
- func (fake *MaintenanceLoader) LoadOverridesReturns(result1 maintenance.GithubBuildConfig)
- func (fake *MaintenanceLoader) LoadOverridesReturnsOnCall(i int, result1 maintenance.GithubBuildConfig)
- type Metrics
- 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) IncPollError(arg1 string)
- func (fake *Metrics) IncPollErrorArgsForCall(i int) string
- func (fake *Metrics) IncPollErrorCallCount() int
- func (fake *Metrics) IncPollErrorCalls(stub func(string))
- func (fake *Metrics) IncReposChecked()
- func (fake *Metrics) IncReposCheckedCallCount() int
- func (fake *Metrics) IncReposCheckedCalls(stub func())
- func (fake *Metrics) IncStateTransition(arg1 string)
- func (fake *Metrics) IncStateTransitionArgsForCall(i int) string
- func (fake *Metrics) IncStateTransitionCallCount() int
- func (fake *Metrics) IncStateTransitionCalls(stub func(string))
- func (fake *Metrics) IncTaskPublished()
- func (fake *Metrics) IncTaskPublishedCallCount() int
- func (fake *Metrics) IncTaskPublishedCalls(stub func())
- func (fake *Metrics) Invocations() map[string][][]interface{}
- func (fake *Metrics) SetCurrentRedRepos(arg1 float64)
- func (fake *Metrics) SetCurrentRedReposArgsForCall(i int) float64
- func (fake *Metrics) SetCurrentRedReposCallCount() int
- func (fake *Metrics) SetCurrentRedReposCalls(stub func(float64))
- type RepoFilter
- func (fake *RepoFilter) Invocations() map[string][][]interface{}
- func (fake *RepoFilter) Skip(arg1 string) bool
- func (fake *RepoFilter) SkipArgsForCall(i int) string
- func (fake *RepoFilter) SkipCallCount() int
- func (fake *RepoFilter) SkipCalls(stub func(string) bool)
- func (fake *RepoFilter) SkipReturns(result1 bool)
- func (fake *RepoFilter) SkipReturnsOnCall(i int, result1 bool)
- type TriggerBuildCheckCommandSender
- func (fake *TriggerBuildCheckCommandSender) Invocations() map[string][][]interface{}
- func (fake *TriggerBuildCheckCommandSender) SendCommand(arg1 context.Context, arg2 command.TriggerBuildCheckCommand) error
- func (fake *TriggerBuildCheckCommandSender) SendCommandArgsForCall(i int) (context.Context, command.TriggerBuildCheckCommand)
- func (fake *TriggerBuildCheckCommandSender) SendCommandCallCount() int
- func (fake *TriggerBuildCheckCommandSender) SendCommandCalls(stub func(context.Context, command.TriggerBuildCheckCommand) error)
- func (fake *TriggerBuildCheckCommandSender) SendCommandReturns(result1 error)
- func (fake *TriggerBuildCheckCommandSender) SendCommandReturnsOnCall(i int, result1 error)
- type TriggerBuildCheckHandler
- func (fake *TriggerBuildCheckHandler) Invocations() map[string][][]interface{}
- func (fake *TriggerBuildCheckHandler) ServeHTTP(arg1 context.Context, arg2 http.ResponseWriter, arg3 *http.Request) error
- func (fake *TriggerBuildCheckHandler) ServeHTTPArgsForCall(i int) (context.Context, http.ResponseWriter, *http.Request)
- func (fake *TriggerBuildCheckHandler) ServeHTTPCallCount() int
- func (fake *TriggerBuildCheckHandler) ServeHTTPCalls(stub func(context.Context, http.ResponseWriter, *http.Request) error)
- func (fake *TriggerBuildCheckHandler) ServeHTTPReturns(result1 error)
- func (fake *TriggerBuildCheckHandler) ServeHTTPReturnsOnCall(i int, result1 error)
- type Watcher
- func (fake *Watcher) Invocations() map[string][][]interface{}
- func (fake *Watcher) Poll(arg1 context.Context, arg2 bool) error
- func (fake *Watcher) PollArgsForCall(i int) (context.Context, bool)
- func (fake *Watcher) PollCallCount() int
- func (fake *Watcher) PollCalls(stub func(context.Context, bool) 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 FileContentFetcher ¶
type FileContentFetcher struct {
GetFileContentStub func(context.Context, string, string, string, string) ([]byte, error)
// contains filtered or unexported fields
}
func (*FileContentFetcher) GetFileContent ¶
func (*FileContentFetcher) GetFileContentArgsForCall ¶
func (*FileContentFetcher) GetFileContentCallCount ¶
func (fake *FileContentFetcher) GetFileContentCallCount() int
func (*FileContentFetcher) GetFileContentCalls ¶
func (*FileContentFetcher) GetFileContentReturns ¶
func (fake *FileContentFetcher) GetFileContentReturns(result1 []byte, result2 error)
func (*FileContentFetcher) GetFileContentReturnsOnCall ¶
func (fake *FileContentFetcher) GetFileContentReturnsOnCall(i int, result1 []byte, result2 error)
func (*FileContentFetcher) Invocations ¶
func (fake *FileContentFetcher) Invocations() map[string][][]interface{}
type GitHubClient ¶
type GitHubClient struct {
GetDefaultBranchStub func(context.Context, string, string) (string, error)
GetFileContentStub func(context.Context, string, string, string, string) ([]byte, error)
GetJobLogStub func(context.Context, string, string, int64) ([]byte, error)
GetJobsForRunStub func(context.Context, string, string, int64) ([]pkg.WorkflowJobInfo, error)
GetWorkflowRunsStub func(context.Context, string, string, string) ([]pkg.WorkflowRun, error)
ListOwnerReposStub func(context.Context, string) ([]string, error)
// contains filtered or unexported fields
}
func (*GitHubClient) GetDefaultBranch ¶
func (*GitHubClient) GetDefaultBranchArgsForCall ¶
func (*GitHubClient) GetDefaultBranchCallCount ¶
func (fake *GitHubClient) GetDefaultBranchCallCount() int
func (*GitHubClient) GetDefaultBranchCalls ¶
func (*GitHubClient) GetDefaultBranchReturns ¶
func (fake *GitHubClient) GetDefaultBranchReturns(result1 string, result2 error)
func (*GitHubClient) GetDefaultBranchReturnsOnCall ¶
func (fake *GitHubClient) GetDefaultBranchReturnsOnCall(i int, result1 string, result2 error)
func (*GitHubClient) GetFileContent ¶
func (*GitHubClient) GetFileContentArgsForCall ¶
func (*GitHubClient) GetFileContentCallCount ¶
func (fake *GitHubClient) GetFileContentCallCount() int
func (*GitHubClient) GetFileContentCalls ¶
func (*GitHubClient) GetFileContentReturns ¶
func (fake *GitHubClient) GetFileContentReturns(result1 []byte, result2 error)
func (*GitHubClient) GetFileContentReturnsOnCall ¶
func (fake *GitHubClient) GetFileContentReturnsOnCall(i int, result1 []byte, result2 error)
func (*GitHubClient) GetJobLogArgsForCall ¶
func (*GitHubClient) GetJobLogCallCount ¶
func (fake *GitHubClient) GetJobLogCallCount() int
func (*GitHubClient) GetJobLogCalls ¶
func (*GitHubClient) GetJobLogReturns ¶
func (fake *GitHubClient) GetJobLogReturns(result1 []byte, result2 error)
func (*GitHubClient) GetJobLogReturnsOnCall ¶
func (fake *GitHubClient) GetJobLogReturnsOnCall(i int, result1 []byte, result2 error)
func (*GitHubClient) GetJobsForRun ¶
func (fake *GitHubClient) GetJobsForRun(arg1 context.Context, arg2 string, arg3 string, arg4 int64) ([]pkg.WorkflowJobInfo, error)
func (*GitHubClient) GetJobsForRunArgsForCall ¶
func (*GitHubClient) GetJobsForRunCallCount ¶
func (fake *GitHubClient) GetJobsForRunCallCount() int
func (*GitHubClient) GetJobsForRunCalls ¶
func (fake *GitHubClient) GetJobsForRunCalls(stub func(context.Context, string, string, int64) ([]pkg.WorkflowJobInfo, error))
func (*GitHubClient) GetJobsForRunReturns ¶
func (fake *GitHubClient) GetJobsForRunReturns(result1 []pkg.WorkflowJobInfo, result2 error)
func (*GitHubClient) GetJobsForRunReturnsOnCall ¶
func (fake *GitHubClient) GetJobsForRunReturnsOnCall(i int, result1 []pkg.WorkflowJobInfo, result2 error)
func (*GitHubClient) GetWorkflowRuns ¶
func (fake *GitHubClient) GetWorkflowRuns(arg1 context.Context, arg2 string, arg3 string, arg4 string) ([]pkg.WorkflowRun, error)
func (*GitHubClient) GetWorkflowRunsArgsForCall ¶
func (*GitHubClient) GetWorkflowRunsCallCount ¶
func (fake *GitHubClient) GetWorkflowRunsCallCount() int
func (*GitHubClient) GetWorkflowRunsCalls ¶
func (fake *GitHubClient) GetWorkflowRunsCalls(stub func(context.Context, string, string, string) ([]pkg.WorkflowRun, error))
func (*GitHubClient) GetWorkflowRunsReturns ¶
func (fake *GitHubClient) GetWorkflowRunsReturns(result1 []pkg.WorkflowRun, result2 error)
func (*GitHubClient) GetWorkflowRunsReturnsOnCall ¶
func (fake *GitHubClient) GetWorkflowRunsReturnsOnCall(i int, result1 []pkg.WorkflowRun, result2 error)
func (*GitHubClient) Invocations ¶
func (fake *GitHubClient) Invocations() map[string][][]interface{}
func (*GitHubClient) ListOwnerRepos ¶
func (*GitHubClient) ListOwnerReposArgsForCall ¶
func (fake *GitHubClient) ListOwnerReposArgsForCall(i int) (context.Context, string)
func (*GitHubClient) ListOwnerReposCallCount ¶
func (fake *GitHubClient) ListOwnerReposCallCount() int
func (*GitHubClient) ListOwnerReposCalls ¶
func (*GitHubClient) ListOwnerReposReturns ¶
func (fake *GitHubClient) ListOwnerReposReturns(result1 []string, result2 error)
func (*GitHubClient) ListOwnerReposReturnsOnCall ¶
func (fake *GitHubClient) ListOwnerReposReturnsOnCall(i int, result1 []string, result2 error)
type MaintenanceLoader ¶
type MaintenanceLoader struct {
LoadOverridesStub func(context.Context, string, string, string) maintenance.GithubBuildConfig
// contains filtered or unexported fields
}
func (*MaintenanceLoader) Invocations ¶
func (fake *MaintenanceLoader) Invocations() map[string][][]interface{}
func (*MaintenanceLoader) LoadOverrides ¶
func (fake *MaintenanceLoader) LoadOverrides(arg1 context.Context, arg2 string, arg3 string, arg4 string) maintenance.GithubBuildConfig
func (*MaintenanceLoader) LoadOverridesArgsForCall ¶
func (*MaintenanceLoader) LoadOverridesCallCount ¶
func (fake *MaintenanceLoader) LoadOverridesCallCount() int
func (*MaintenanceLoader) LoadOverridesCalls ¶
func (fake *MaintenanceLoader) LoadOverridesCalls(stub func(context.Context, string, string, string) maintenance.GithubBuildConfig)
func (*MaintenanceLoader) LoadOverridesReturns ¶
func (fake *MaintenanceLoader) LoadOverridesReturns(result1 maintenance.GithubBuildConfig)
func (*MaintenanceLoader) LoadOverridesReturnsOnCall ¶
func (fake *MaintenanceLoader) LoadOverridesReturnsOnCall(i int, result1 maintenance.GithubBuildConfig)
type Metrics ¶
type Metrics struct {
IncPollCycleStub func(string)
IncPollErrorStub func(string)
IncReposCheckedStub func()
IncStateTransitionStub func(string)
IncTaskPublishedStub func()
SetCurrentRedReposStub func(float64)
// contains filtered or unexported fields
}
func (*Metrics) IncPollCycle ¶
func (*Metrics) IncPollCycleArgsForCall ¶
func (*Metrics) IncPollCycleCallCount ¶
func (*Metrics) IncPollCycleCalls ¶
func (*Metrics) IncPollError ¶
func (*Metrics) IncPollErrorArgsForCall ¶
func (*Metrics) IncPollErrorCallCount ¶
func (*Metrics) IncPollErrorCalls ¶
func (*Metrics) IncReposChecked ¶
func (fake *Metrics) IncReposChecked()
func (*Metrics) IncReposCheckedCallCount ¶
func (*Metrics) IncReposCheckedCalls ¶
func (fake *Metrics) IncReposCheckedCalls(stub func())
func (*Metrics) IncStateTransition ¶
func (*Metrics) IncStateTransitionArgsForCall ¶
func (*Metrics) IncStateTransitionCallCount ¶
func (*Metrics) IncStateTransitionCalls ¶
func (*Metrics) IncTaskPublished ¶
func (fake *Metrics) IncTaskPublished()
func (*Metrics) IncTaskPublishedCallCount ¶
func (*Metrics) IncTaskPublishedCalls ¶
func (fake *Metrics) IncTaskPublishedCalls(stub func())
func (*Metrics) Invocations ¶
func (*Metrics) SetCurrentRedRepos ¶
func (*Metrics) SetCurrentRedReposArgsForCall ¶
func (*Metrics) SetCurrentRedReposCallCount ¶
func (*Metrics) SetCurrentRedReposCalls ¶
type RepoFilter ¶
func (*RepoFilter) Invocations ¶
func (fake *RepoFilter) Invocations() map[string][][]interface{}
func (*RepoFilter) Skip ¶
func (fake *RepoFilter) Skip(arg1 string) bool
func (*RepoFilter) SkipArgsForCall ¶
func (fake *RepoFilter) SkipArgsForCall(i int) string
func (*RepoFilter) SkipCallCount ¶
func (fake *RepoFilter) SkipCallCount() int
func (*RepoFilter) SkipCalls ¶
func (fake *RepoFilter) SkipCalls(stub func(string) bool)
func (*RepoFilter) SkipReturns ¶
func (fake *RepoFilter) SkipReturns(result1 bool)
func (*RepoFilter) SkipReturnsOnCall ¶
func (fake *RepoFilter) SkipReturnsOnCall(i int, result1 bool)
type TriggerBuildCheckCommandSender ¶
type TriggerBuildCheckCommandSender struct {
SendCommandStub func(context.Context, command.TriggerBuildCheckCommand) error
// contains filtered or unexported fields
}
func (*TriggerBuildCheckCommandSender) Invocations ¶
func (fake *TriggerBuildCheckCommandSender) Invocations() map[string][][]interface{}
func (*TriggerBuildCheckCommandSender) SendCommand ¶
func (fake *TriggerBuildCheckCommandSender) SendCommand(arg1 context.Context, arg2 command.TriggerBuildCheckCommand) error
func (*TriggerBuildCheckCommandSender) SendCommandArgsForCall ¶
func (fake *TriggerBuildCheckCommandSender) SendCommandArgsForCall(i int) (context.Context, command.TriggerBuildCheckCommand)
func (*TriggerBuildCheckCommandSender) SendCommandCallCount ¶
func (fake *TriggerBuildCheckCommandSender) SendCommandCallCount() int
func (*TriggerBuildCheckCommandSender) SendCommandCalls ¶
func (fake *TriggerBuildCheckCommandSender) SendCommandCalls(stub func(context.Context, command.TriggerBuildCheckCommand) error)
func (*TriggerBuildCheckCommandSender) SendCommandReturns ¶
func (fake *TriggerBuildCheckCommandSender) SendCommandReturns(result1 error)
func (*TriggerBuildCheckCommandSender) SendCommandReturnsOnCall ¶
func (fake *TriggerBuildCheckCommandSender) SendCommandReturnsOnCall(i int, result1 error)
type TriggerBuildCheckHandler ¶
type TriggerBuildCheckHandler struct {
ServeHTTPStub func(context.Context, http.ResponseWriter, *http.Request) error
// contains filtered or unexported fields
}
func (*TriggerBuildCheckHandler) Invocations ¶
func (fake *TriggerBuildCheckHandler) Invocations() map[string][][]interface{}
func (*TriggerBuildCheckHandler) ServeHTTP ¶
func (fake *TriggerBuildCheckHandler) ServeHTTP(arg1 context.Context, arg2 http.ResponseWriter, arg3 *http.Request) error
func (*TriggerBuildCheckHandler) ServeHTTPArgsForCall ¶
func (fake *TriggerBuildCheckHandler) ServeHTTPArgsForCall(i int) (context.Context, http.ResponseWriter, *http.Request)
func (*TriggerBuildCheckHandler) ServeHTTPCallCount ¶
func (fake *TriggerBuildCheckHandler) ServeHTTPCallCount() int
func (*TriggerBuildCheckHandler) ServeHTTPCalls ¶
func (fake *TriggerBuildCheckHandler) ServeHTTPCalls(stub func(context.Context, http.ResponseWriter, *http.Request) error)
func (*TriggerBuildCheckHandler) ServeHTTPReturns ¶
func (fake *TriggerBuildCheckHandler) ServeHTTPReturns(result1 error)
func (*TriggerBuildCheckHandler) ServeHTTPReturnsOnCall ¶
func (fake *TriggerBuildCheckHandler) ServeHTTPReturnsOnCall(i int, result1 error)
type Watcher ¶
type Watcher struct {
PollStub func(context.Context, bool) error
// contains filtered or unexported fields
}