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.
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) GetDefaultBranchHeadSHA(arg1 context.Context, arg2 string, arg3 string, arg4 string) (string, error)
- func (fake *GitHubClient) GetDefaultBranchHeadSHAArgsForCall(i int) (context.Context, string, string, string)
- func (fake *GitHubClient) GetDefaultBranchHeadSHACallCount() int
- func (fake *GitHubClient) GetDefaultBranchHeadSHACalls(stub func(context.Context, string, string, string) (string, error))
- func (fake *GitHubClient) GetDefaultBranchHeadSHAReturns(result1 string, result2 error)
- func (fake *GitHubClient) GetDefaultBranchHeadSHAReturnsOnCall(i int, result1 string, result2 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)
- func (fake *GitHubClient) RateLimitRemaining() int
- func (fake *GitHubClient) RateLimitRemainingCallCount() int
- func (fake *GitHubClient) RateLimitRemainingCalls(stub func() int)
- func (fake *GitHubClient) RateLimitRemainingReturns(result1 int)
- func (fake *GitHubClient) RateLimitRemainingReturnsOnCall(i int, result1 int)
- 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) IncTaskClosed()
- func (fake *Metrics) IncTaskClosedCallCount() int
- func (fake *Metrics) IncTaskClosedCalls(stub func())
- func (fake *Metrics) IncTaskPublished()
- func (fake *Metrics) IncTaskPublishedCallCount() int
- func (fake *Metrics) IncTaskPublishedCalls(stub func())
- func (fake *Metrics) IncWebhookDelivery(arg1 string)
- func (fake *Metrics) IncWebhookDeliveryArgsForCall(i int) string
- func (fake *Metrics) IncWebhookDeliveryCallCount() int
- func (fake *Metrics) IncWebhookDeliveryCalls(stub func(string))
- func (fake *Metrics) IncWebhookSignatureRejected()
- func (fake *Metrics) IncWebhookSignatureRejectedCallCount() int
- func (fake *Metrics) IncWebhookSignatureRejectedCalls(stub func())
- func (fake *Metrics) IncWebhookSkipped(arg1 string)
- func (fake *Metrics) IncWebhookSkippedArgsForCall(i int) string
- func (fake *Metrics) IncWebhookSkippedCallCount() int
- func (fake *Metrics) IncWebhookSkippedCalls(stub func(string))
- func (fake *Metrics) Invocations() map[string][][]interface{}
- func (fake *Metrics) ObserveWebhookDispatchLatency(arg1 float64)
- func (fake *Metrics) ObserveWebhookDispatchLatencyArgsForCall(i int) float64
- func (fake *Metrics) ObserveWebhookDispatchLatencyCallCount() int
- func (fake *Metrics) ObserveWebhookDispatchLatencyCalls(stub func(float64))
- 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))
- func (fake *Metrics) SetRateLimitRemaining(arg1 int)
- func (fake *Metrics) SetRateLimitRemainingArgsForCall(i int) int
- func (fake *Metrics) SetRateLimitRemainingCallCount() int
- func (fake *Metrics) SetRateLimitRemainingCalls(stub func(int))
- 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, arg3 string) error
- func (fake *Watcher) PollArgsForCall(i int) (context.Context, bool, string)
- func (fake *Watcher) PollCallCount() int
- func (fake *Watcher) PollCalls(stub func(context.Context, bool, string) error)
- func (fake *Watcher) PollReturns(result1 error)
- func (fake *Watcher) PollReturnsOnCall(i int, result1 error)
- type WebhookMetrics
- func (fake *WebhookMetrics) IncWebhookDelivery(arg1 string)
- func (fake *WebhookMetrics) IncWebhookDeliveryArgsForCall(i int) string
- func (fake *WebhookMetrics) IncWebhookDeliveryCallCount() int
- func (fake *WebhookMetrics) IncWebhookDeliveryCalls(stub func(string))
- func (fake *WebhookMetrics) IncWebhookSignatureRejected()
- func (fake *WebhookMetrics) IncWebhookSignatureRejectedCallCount() int
- func (fake *WebhookMetrics) IncWebhookSignatureRejectedCalls(stub func())
- func (fake *WebhookMetrics) IncWebhookSkipped(arg1 string)
- func (fake *WebhookMetrics) IncWebhookSkippedArgsForCall(i int) string
- func (fake *WebhookMetrics) IncWebhookSkippedCallCount() int
- func (fake *WebhookMetrics) IncWebhookSkippedCalls(stub func(string))
- func (fake *WebhookMetrics) Invocations() map[string][][]interface{}
- func (fake *WebhookMetrics) ObserveWebhookDispatchLatency(arg1 float64)
- func (fake *WebhookMetrics) ObserveWebhookDispatchLatencyArgsForCall(i int) float64
- func (fake *WebhookMetrics) ObserveWebhookDispatchLatencyCallCount() int
- func (fake *WebhookMetrics) ObserveWebhookDispatchLatencyCalls(stub func(float64))
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)
GetDefaultBranchHeadSHAStub func(context.Context, string, 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)
RateLimitRemainingStub func() int
// contains filtered or unexported fields
}
func (*GitHubClient) GetDefaultBranch ¶
func (*GitHubClient) GetDefaultBranchArgsForCall ¶
func (*GitHubClient) GetDefaultBranchCallCount ¶
func (fake *GitHubClient) GetDefaultBranchCallCount() int
func (*GitHubClient) GetDefaultBranchCalls ¶
func (*GitHubClient) GetDefaultBranchHeadSHA ¶ added in v0.2.0
func (*GitHubClient) GetDefaultBranchHeadSHAArgsForCall ¶ added in v0.2.0
func (*GitHubClient) GetDefaultBranchHeadSHACallCount ¶ added in v0.2.0
func (fake *GitHubClient) GetDefaultBranchHeadSHACallCount() int
func (*GitHubClient) GetDefaultBranchHeadSHACalls ¶ added in v0.2.0
func (*GitHubClient) GetDefaultBranchHeadSHAReturns ¶ added in v0.2.0
func (fake *GitHubClient) GetDefaultBranchHeadSHAReturns(result1 string, result2 error)
func (*GitHubClient) GetDefaultBranchHeadSHAReturnsOnCall ¶ added in v0.2.0
func (fake *GitHubClient) GetDefaultBranchHeadSHAReturnsOnCall(i int, result1 string, result2 error)
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)
func (*GitHubClient) RateLimitRemaining ¶ added in v0.3.0
func (fake *GitHubClient) RateLimitRemaining() int
func (*GitHubClient) RateLimitRemainingCallCount ¶ added in v0.3.0
func (fake *GitHubClient) RateLimitRemainingCallCount() int
func (*GitHubClient) RateLimitRemainingCalls ¶ added in v0.3.0
func (fake *GitHubClient) RateLimitRemainingCalls(stub func() int)
func (*GitHubClient) RateLimitRemainingReturns ¶ added in v0.3.0
func (fake *GitHubClient) RateLimitRemainingReturns(result1 int)
func (*GitHubClient) RateLimitRemainingReturnsOnCall ¶ added in v0.3.0
func (fake *GitHubClient) RateLimitRemainingReturnsOnCall(i int, result1 int)
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)
IncTaskClosedStub func()
IncTaskPublishedStub func()
IncWebhookDeliveryStub func(string)
IncWebhookSignatureRejectedStub func()
IncWebhookSkippedStub func(string)
ObserveWebhookDispatchLatencyStub func(float64)
SetCurrentRedReposStub func(float64)
SetRateLimitRemainingStub func(int)
// 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) IncTaskClosed ¶ added in v0.2.0
func (fake *Metrics) IncTaskClosed()
func (*Metrics) IncTaskClosedCallCount ¶ added in v0.2.0
func (*Metrics) IncTaskClosedCalls ¶ added in v0.2.0
func (fake *Metrics) IncTaskClosedCalls(stub func())
func (*Metrics) IncTaskPublished ¶
func (fake *Metrics) IncTaskPublished()
func (*Metrics) IncTaskPublishedCallCount ¶
func (*Metrics) IncTaskPublishedCalls ¶
func (fake *Metrics) IncTaskPublishedCalls(stub func())
func (*Metrics) IncWebhookDelivery ¶ added in v0.4.0
func (*Metrics) IncWebhookDeliveryArgsForCall ¶ added in v0.4.0
func (*Metrics) IncWebhookDeliveryCallCount ¶ added in v0.4.0
func (*Metrics) IncWebhookDeliveryCalls ¶ added in v0.4.0
func (*Metrics) IncWebhookSignatureRejected ¶ added in v0.4.0
func (fake *Metrics) IncWebhookSignatureRejected()
func (*Metrics) IncWebhookSignatureRejectedCallCount ¶ added in v0.4.0
func (*Metrics) IncWebhookSignatureRejectedCalls ¶ added in v0.4.0
func (fake *Metrics) IncWebhookSignatureRejectedCalls(stub func())
func (*Metrics) IncWebhookSkipped ¶ added in v0.4.0
func (*Metrics) IncWebhookSkippedArgsForCall ¶ added in v0.4.0
func (*Metrics) IncWebhookSkippedCallCount ¶ added in v0.4.0
func (*Metrics) IncWebhookSkippedCalls ¶ added in v0.4.0
func (*Metrics) Invocations ¶
func (*Metrics) ObserveWebhookDispatchLatency ¶ added in v0.4.0
func (*Metrics) ObserveWebhookDispatchLatencyArgsForCall ¶ added in v0.4.0
func (*Metrics) ObserveWebhookDispatchLatencyCallCount ¶ added in v0.4.0
func (*Metrics) ObserveWebhookDispatchLatencyCalls ¶ added in v0.4.0
func (*Metrics) SetCurrentRedRepos ¶
func (*Metrics) SetCurrentRedReposArgsForCall ¶
func (*Metrics) SetCurrentRedReposCallCount ¶
func (*Metrics) SetCurrentRedReposCalls ¶
func (*Metrics) SetRateLimitRemaining ¶ added in v0.3.0
func (*Metrics) SetRateLimitRemainingArgsForCall ¶ added in v0.3.0
func (*Metrics) SetRateLimitRemainingCallCount ¶ added in v0.3.0
func (*Metrics) SetRateLimitRemainingCalls ¶ added in v0.3.0
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, string) error
// contains filtered or unexported fields
}
func (*Watcher) Invocations ¶
func (*Watcher) PollArgsForCall ¶
func (*Watcher) PollCallCount ¶
func (*Watcher) PollReturns ¶
func (*Watcher) PollReturnsOnCall ¶
type WebhookMetrics ¶ added in v0.4.0
type WebhookMetrics struct {
IncWebhookDeliveryStub func(string)
IncWebhookSignatureRejectedStub func()
IncWebhookSkippedStub func(string)
ObserveWebhookDispatchLatencyStub func(float64)
// contains filtered or unexported fields
}
func (*WebhookMetrics) IncWebhookDelivery ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookDelivery(arg1 string)
func (*WebhookMetrics) IncWebhookDeliveryArgsForCall ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookDeliveryArgsForCall(i int) string
func (*WebhookMetrics) IncWebhookDeliveryCallCount ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookDeliveryCallCount() int
func (*WebhookMetrics) IncWebhookDeliveryCalls ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookDeliveryCalls(stub func(string))
func (*WebhookMetrics) IncWebhookSignatureRejected ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSignatureRejected()
func (*WebhookMetrics) IncWebhookSignatureRejectedCallCount ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSignatureRejectedCallCount() int
func (*WebhookMetrics) IncWebhookSignatureRejectedCalls ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSignatureRejectedCalls(stub func())
func (*WebhookMetrics) IncWebhookSkipped ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSkipped(arg1 string)
func (*WebhookMetrics) IncWebhookSkippedArgsForCall ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSkippedArgsForCall(i int) string
func (*WebhookMetrics) IncWebhookSkippedCallCount ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSkippedCallCount() int
func (*WebhookMetrics) IncWebhookSkippedCalls ¶ added in v0.4.0
func (fake *WebhookMetrics) IncWebhookSkippedCalls(stub func(string))
func (*WebhookMetrics) Invocations ¶ added in v0.4.0
func (fake *WebhookMetrics) Invocations() map[string][][]interface{}
func (*WebhookMetrics) ObserveWebhookDispatchLatency ¶ added in v0.4.0
func (fake *WebhookMetrics) ObserveWebhookDispatchLatency(arg1 float64)
func (*WebhookMetrics) ObserveWebhookDispatchLatencyArgsForCall ¶ added in v0.4.0
func (fake *WebhookMetrics) ObserveWebhookDispatchLatencyArgsForCall(i int) float64
func (*WebhookMetrics) ObserveWebhookDispatchLatencyCallCount ¶ added in v0.4.0
func (fake *WebhookMetrics) ObserveWebhookDispatchLatencyCallCount() int
func (*WebhookMetrics) ObserveWebhookDispatchLatencyCalls ¶ added in v0.4.0
func (fake *WebhookMetrics) ObserveWebhookDispatchLatencyCalls(stub func(float64))