-
Notifications
You must be signed in to change notification settings - Fork 98
/
.mockery.yml
103 lines (103 loc) · 3.04 KB
/
.mockery.yml
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
quiet: False
disable-version-string: True
with-expecter: True
filename: "mock_{{.InterfaceName}}.go"
dir: "{{.InterfaceDir}}"
mockname: "Mock{{.InterfaceName}}"
outpkg: "{{.PackageName}}"
inpackage: True
packages:
github.com/nucleuscloud/neosync/backend/internal/auth/jwt:
interfaces:
JwtValidator:
github.com/nucleuscloud/neosync/backend/internal/auth/client:
interfaces:
Interface:
github.com/nucleuscloud/neosync/backend/internal/authmgmt:
interfaces:
Interface:
github.com/nucleuscloud/neosync/backend/internal/auth/clientcred_token_provider:
interfaces:
tokenProvider:
github.com/nucleuscloud/neosync/backend/internal/auth/authmw:
interfaces:
AuthClient:
github.com/nucleuscloud/neosync/backend/internal/nucleusdb:
# config:
interfaces:
DBTX:
github.com/nucleuscloud/neosync/backend/gen/go/db:
# config:
interfaces:
Querier:
DBTX:
github.com/nucleuscloud/neosync/backend/gen/go/protos/mgmt/v1alpha1/mgmtv1alpha1connect:
# config:
interfaces:
UserAccountServiceClient:
JobServiceClient:
JobServiceHandler:
ConnectionServiceClient:
AuthServiceClient:
TransformersServiceClient:
github.com/nucleuscloud/neosync/backend/internal/temporal/client-manager:
interfaces:
DB:
# this is broken. it uses the wrong package. after running mockery change internal to client in mock
# TemporalClientManagerClient:
github.com/nucleuscloud/neosync/backend/gen/go/db/dbschemas/postgresql:
# config:
interfaces:
Querier:
DBTX:
github.com/nucleuscloud/neosync/backend/gen/go/db/dbschemas/mysql:
# config:
interfaces:
Querier:
DBTX:
github.com/nucleuscloud/neosync/backend/pkg/mssql-querier:
# config:
interfaces:
Querier:
github.com/nucleuscloud/neosync/backend/pkg/sqlconnect:
interfaces:
SqlConnector:
SqlDbContainer:
PgPoolContainer:
github.com/nucleuscloud/neosync/backend/pkg/sqlmanager:
interfaces:
SqlDatabase:
SqlManagerClient:
github.com/nucleuscloud/neosync/internal/aws:
interfaces:
NeosyncAwsManagerClient:
dynamoDBAPIV2:
github.com/nucleuscloud/neosync/worker/pkg/workflows/datasync/activities/sync:
interfaces:
sqlProvider:
sqlDbtx:
BenthosStreamClient:
BenthosStreamManagerClient:
github.com/prometheus/client_golang/api/prometheus/v1:
config:
dir: "backend/internal/mocks/{{.PackagePath}}"
inpackage: False
interfaces:
API:
github.com/nucleuscloud/neosync/backend/internal/loki:
interfaces:
LokiHttpClient:
github.com/nucleuscloud/neosync/backend/pkg/mongoconnect:
interfaces:
Interface:
DbContainer:
github.com/nucleuscloud/neosync/backend/internal/gcp:
interfaces:
ManagerInterface:
ClientInterface:
github.com/nucleuscloud/neosync/worker/internal/connection-tunnel-manager:
interfaces:
ConnectionProvider:
github.com/nucleuscloud/neosync/worker/pkg/benthos/dynamodb:
interfaces:
dynamoDBAPIV2: