Documentation ¶
Overview ¶
Package mock_webhook 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) ProcessWebRequest(arg0 *http.ResponseWriter, arg1 *http.Request, arg2 string, arg3 []byte, ...) string
- func (m *MockGatewayI) TrackRequestMetrics(arg0 string)
- func (m *MockGatewayI) UpdateSourceStats(arg0 map[string]int, arg1 string, arg2 map[string]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) ProcessWebRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) TrackRequestMetrics(arg0 interface{}) *gomock.Call
- func (mr *MockGatewayIMockRecorder) UpdateSourceStats(arg0, arg1, arg2 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) ProcessWebRequest ¶
func (m *MockGatewayI) ProcessWebRequest(arg0 *http.ResponseWriter, arg1 *http.Request, arg2 string, arg3 []byte, arg4 string) string
ProcessWebRequest mocks base method.
func (*MockGatewayI) TrackRequestMetrics ¶
func (m *MockGatewayI) TrackRequestMetrics(arg0 string)
TrackRequestMetrics mocks base method.
func (*MockGatewayI) UpdateSourceStats ¶
UpdateSourceStats 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) ProcessWebRequest ¶
func (mr *MockGatewayIMockRecorder) ProcessWebRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ProcessWebRequest indicates an expected call of ProcessWebRequest.
func (*MockGatewayIMockRecorder) TrackRequestMetrics ¶
func (mr *MockGatewayIMockRecorder) TrackRequestMetrics(arg0 interface{}) *gomock.Call
TrackRequestMetrics indicates an expected call of TrackRequestMetrics.
func (*MockGatewayIMockRecorder) UpdateSourceStats ¶
func (mr *MockGatewayIMockRecorder) UpdateSourceStats(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateSourceStats indicates an expected call of UpdateSourceStats.