-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathreprocessor.go
More file actions
104 lines (87 loc) · 3.2 KB
/
reprocessor.go
File metadata and controls
104 lines (87 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// Code generated by MockGen. DO NOT EDIT.
// Source: reprocessor.go
//
// Generated by this command:
//
// mockgen -package mocks -destination mocks/reprocessor.go -source reprocessor.go
//
// Package mocks is a generated GoMock package.
package mocks
import (
reflect "reflect"
gomock "go.uber.org/mock/gomock"
)
// MockLoop is a mock of Loop interface.
type MockLoop struct {
ctrl *gomock.Controller
recorder *MockLoopMockRecorder
isgomock struct{}
}
// MockLoopMockRecorder is the mock recorder for MockLoop.
type MockLoopMockRecorder struct {
mock *MockLoop
}
// NewMockLoop creates a new mock instance.
func NewMockLoop(ctrl *gomock.Controller) *MockLoop {
mock := &MockLoop{ctrl: ctrl}
mock.recorder = &MockLoopMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockLoop) EXPECT() *MockLoopMockRecorder {
return m.recorder
}
// ReprocessRiskForDeployments mocks base method.
func (m *MockLoop) ReprocessRiskForDeployments(deploymentIDs ...string) {
m.ctrl.T.Helper()
varargs := []any{}
for _, a := range deploymentIDs {
varargs = append(varargs, a)
}
m.ctrl.Call(m, "ReprocessRiskForDeployments", varargs...)
}
// ReprocessRiskForDeployments indicates an expected call of ReprocessRiskForDeployments.
func (mr *MockLoopMockRecorder) ReprocessRiskForDeployments(deploymentIDs ...any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReprocessRiskForDeployments", reflect.TypeOf((*MockLoop)(nil).ReprocessRiskForDeployments), deploymentIDs...)
}
// ReprocessSignatureVerifications mocks base method.
func (m *MockLoop) ReprocessSignatureVerifications(firstIntegration bool) {
m.ctrl.T.Helper()
m.ctrl.Call(m, "ReprocessSignatureVerifications", firstIntegration)
}
// ReprocessSignatureVerifications indicates an expected call of ReprocessSignatureVerifications.
func (mr *MockLoopMockRecorder) ReprocessSignatureVerifications(firstIntegration any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReprocessSignatureVerifications", reflect.TypeOf((*MockLoop)(nil).ReprocessSignatureVerifications), firstIntegration)
}
// ShortCircuit mocks base method.
func (m *MockLoop) ShortCircuit() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "ShortCircuit")
}
// ShortCircuit indicates an expected call of ShortCircuit.
func (mr *MockLoopMockRecorder) ShortCircuit() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ShortCircuit", reflect.TypeOf((*MockLoop)(nil).ShortCircuit))
}
// Start mocks base method.
func (m *MockLoop) Start() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Start")
}
// Start indicates an expected call of Start.
func (mr *MockLoopMockRecorder) Start() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Start", reflect.TypeOf((*MockLoop)(nil).Start))
}
// Stop mocks base method.
func (m *MockLoop) Stop() {
m.ctrl.T.Helper()
m.ctrl.Call(m, "Stop")
}
// Stop indicates an expected call of Stop.
func (mr *MockLoopMockRecorder) Stop() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Stop", reflect.TypeOf((*MockLoop)(nil).Stop))
}