Files
CrimsonandGitHub 61cae8af0a chore: Move all CE plugins to own go modules (#780)
* 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
2026-07-01 14:53:02 +00:00

88 lines
3.1 KiB
Go

// Code generated by MockGen. DO NOT EDIT.
// Source: client.go
//
// Generated by this command:
//
// mockgen -source client.go -destination client_generated.go -package client . Client
//
// Package client is a generated GoMock package.
package client
import (
context "context"
reflect "reflect"
time "time"
gomock "go.uber.org/mock/gomock"
)
// MockClient is a mock of Client interface.
type MockClient struct {
ctrl *gomock.Controller
recorder *MockClientMockRecorder
isgomock struct{}
}
// MockClientMockRecorder is the mock recorder for MockClient.
type MockClientMockRecorder struct {
mock *MockClient
}
// NewMockClient creates a new mock instance.
func NewMockClient(ctrl *gomock.Controller) *MockClient {
mock := &MockClient{ctrl: ctrl}
mock.recorder = &MockClientMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockClient) EXPECT() *MockClientMockRecorder {
return m.recorder
}
// GetBeneficiaries mocks base method.
func (m *MockClient) GetBeneficiaries(ctx context.Context, updatedAtFrom time.Time, page, pageSize int) ([]Beneficiary, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetBeneficiaries", ctx, updatedAtFrom, page, pageSize)
ret0, _ := ret[0].([]Beneficiary)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetBeneficiaries indicates an expected call of GetBeneficiaries.
func (mr *MockClientMockRecorder) GetBeneficiaries(ctx, updatedAtFrom, page, pageSize any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetBeneficiaries", reflect.TypeOf((*MockClient)(nil).GetBeneficiaries), ctx, updatedAtFrom, page, pageSize)
}
// GetOrganization mocks base method.
func (m *MockClient) GetOrganization(ctx context.Context) (*Organization, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetOrganization", ctx)
ret0, _ := ret[0].(*Organization)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetOrganization indicates an expected call of GetOrganization.
func (mr *MockClientMockRecorder) GetOrganization(ctx any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOrganization", reflect.TypeOf((*MockClient)(nil).GetOrganization), ctx)
}
// GetTransactions mocks base method.
func (m *MockClient) GetTransactions(ctx context.Context, bankAccountId string, updatedAtFrom time.Time, transactionStatusToFetch string, page, pageSize int) ([]Transactions, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetTransactions", ctx, bankAccountId, updatedAtFrom, transactionStatusToFetch, page, pageSize)
ret0, _ := ret[0].([]Transactions)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetTransactions indicates an expected call of GetTransactions.
func (mr *MockClientMockRecorder) GetTransactions(ctx, bankAccountId, updatedAtFrom, transactionStatusToFetch, page, pageSize any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTransactions", reflect.TypeOf((*MockClient)(nil).GetTransactions), ctx, bankAccountId, updatedAtFrom, transactionStatusToFetch, page, pageSize)
}