Documentation ¶
Overview ¶
Package mockwebhook is a generated GoMock package.
Index ¶
- type MockGatewayI
- func (m *MockGatewayI) EXPECT() *MockGatewayIMockRecorder
- func (m *MockGatewayI) GetWebhookSourceDefName(arg0 string) (string, bool)
- func (m *MockGatewayI) IncrementAckCount(arg0 uint64)
- func (m *MockGatewayI) IncrementRecvCount(arg0 uint64)
- func (m *MockGatewayI) NewSourceStat(arg0, arg1 string) *stats.SourceStat
- func (m *MockGatewayI) ProcessWebRequest(arg0 *http.ResponseWriter, arg1 *http.Request, arg2 string, arg3 []byte, ...) string
- func (m *MockGatewayI) SaveWebhookFailures(arg0 []*model.FailedWebhookPayload) error
- func (m *MockGatewayI) TrackRequestMetrics(arg0 string)
- type MockGatewayIMockRecorder
- func (mr *MockGatewayIMockRecorder) GetWebhookSourceDefName(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) IncrementAckCount(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) IncrementRecvCount(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) NewSourceStat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) ProcessWebRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) SaveWebhookFailures(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) TrackRequestMetrics(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGatewayI ¶
type MockGatewayI struct {
// contains filtered or unexported fields
}
MockGatewayI is a mock of GatewayI interface.
func NewMockGatewayI ¶
func NewMockGatewayI(ctrl *gomock.Controller) *MockGatewayI
NewMockGatewayI creates a new mock instance.
func (*MockGatewayI) EXPECT ¶
func (m *MockGatewayI) EXPECT() *MockGatewayIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGatewayI) GetWebhookSourceDefName ¶
func (m *MockGatewayI) GetWebhookSourceDefName(arg0 string) (string, bool)
GetWebhookSourceDefName mocks base method.
func (*MockGatewayI) IncrementAckCount ¶
func (m *MockGatewayI) IncrementAckCount(arg0 uint64)
IncrementAckCount mocks base method.
func (*MockGatewayI) IncrementRecvCount ¶
func (m *MockGatewayI) IncrementRecvCount(arg0 uint64)
IncrementRecvCount mocks base method.
func (*MockGatewayI) NewSourceStat ¶
func (m *MockGatewayI) NewSourceStat(arg0, arg1 string) *stats.SourceStat
NewSourceStat mocks base method.
func (*MockGatewayI) ProcessWebRequest ¶
func (m *MockGatewayI) ProcessWebRequest(arg0 *http.ResponseWriter, arg1 *http.Request, arg2 string, arg3 []byte, arg4 string) string
ProcessWebRequest mocks base method.
func (*MockGatewayI) SaveWebhookFailures ¶ added in v1.11.0
func (m *MockGatewayI) SaveWebhookFailures(arg0 []*model.FailedWebhookPayload) error
SaveWebhookFailures mocks base method.
func (*MockGatewayI) TrackRequestMetrics ¶
func (m *MockGatewayI) TrackRequestMetrics(arg0 string)
TrackRequestMetrics mocks base method.
type MockGatewayIMockRecorder ¶
type MockGatewayIMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayIMockRecorder is the mock recorder for MockGatewayI.
func (*MockGatewayIMockRecorder) GetWebhookSourceDefName ¶
func (mr *MockGatewayIMockRecorder) GetWebhookSourceDefName(arg0 interface{}) *gomock.Call
GetWebhookSourceDefName indicates an expected call of GetWebhookSourceDefName.
func (*MockGatewayIMockRecorder) IncrementAckCount ¶
func (mr *MockGatewayIMockRecorder) IncrementAckCount(arg0 interface{}) *gomock.Call
IncrementAckCount indicates an expected call of IncrementAckCount.
func (*MockGatewayIMockRecorder) IncrementRecvCount ¶
func (mr *MockGatewayIMockRecorder) IncrementRecvCount(arg0 interface{}) *gomock.Call
IncrementRecvCount indicates an expected call of IncrementRecvCount.
func (*MockGatewayIMockRecorder) NewSourceStat ¶
func (mr *MockGatewayIMockRecorder) NewSourceStat(arg0, arg1 interface{}) *gomock.Call
NewSourceStat indicates an expected call of NewSourceStat.
func (*MockGatewayIMockRecorder) ProcessWebRequest ¶
func (mr *MockGatewayIMockRecorder) ProcessWebRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ProcessWebRequest indicates an expected call of ProcessWebRequest.
func (*MockGatewayIMockRecorder) SaveWebhookFailures ¶ added in v1.11.0
func (mr *MockGatewayIMockRecorder) SaveWebhookFailures(arg0 interface{}) *gomock.Call
SaveWebhookFailures indicates an expected call of SaveWebhookFailures.
func (*MockGatewayIMockRecorder) TrackRequestMetrics ¶
func (mr *MockGatewayIMockRecorder) TrackRequestMetrics(arg0 interface{}) *gomock.Call
TrackRequestMetrics indicates an expected call of TrackRequestMetrics.