mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Move all public connectors to ce/plugins * Update tooling to account for new go modules under ce * Ensure we test all CE plugins in CI * Move Dummypay to ce/plugins for simplicity's sake in the generation scripts * Use versioned pkg/domain in plugins * Ensure that renovate updates all CE plugins in a single PR when pkg/domain tags are pushed to github * Ensure Justfile commands work over all CE plugins * Copy ce plugin go.mods in dev.Dockerfile * Only add a go.mod for new plugins if they are ce * Ensure generated generic client structs are named correctly for submodule * Add coverprofile for each ce plugin * Add set -e for Justfile for loops over plugins * Infer go version from flake.nix in connector template tool
55 lines
1.7 KiB
Go
55 lines
1.7 KiB
Go
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: webhooks.go
|
|
//
|
|
// Generated by this command:
|
|
//
|
|
// mockgen -source webhooks.go -destination webhookverifier_generated.go -package increase WebhookVerifier
|
|
//
|
|
|
|
// Package increase is a generated GoMock package.
|
|
package increase
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
gomock "go.uber.org/mock/gomock"
|
|
)
|
|
|
|
// MockWebhookVerifier is a mock of WebhookVerifier interface.
|
|
type MockWebhookVerifier struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockWebhookVerifierMockRecorder
|
|
isgomock struct{}
|
|
}
|
|
|
|
// MockWebhookVerifierMockRecorder is the mock recorder for MockWebhookVerifier.
|
|
type MockWebhookVerifierMockRecorder struct {
|
|
mock *MockWebhookVerifier
|
|
}
|
|
|
|
// NewMockWebhookVerifier creates a new mock instance.
|
|
func NewMockWebhookVerifier(ctrl *gomock.Controller) *MockWebhookVerifier {
|
|
mock := &MockWebhookVerifier{ctrl: ctrl}
|
|
mock.recorder = &MockWebhookVerifierMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockWebhookVerifier) EXPECT() *MockWebhookVerifierMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// verifyWebhookSignature mocks base method.
|
|
func (m *MockWebhookVerifier) verifyWebhookSignature(payload []byte, header string) error {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "verifyWebhookSignature", payload, header)
|
|
ret0, _ := ret[0].(error)
|
|
return ret0
|
|
}
|
|
|
|
// verifyWebhookSignature indicates an expected call of verifyWebhookSignature.
|
|
func (mr *MockWebhookVerifierMockRecorder) verifyWebhookSignature(payload, header any) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "verifyWebhookSignature", reflect.TypeOf((*MockWebhookVerifier)(nil).verifyWebhookSignature), payload, header)
|
|
}
|