-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy path.mockery.yaml
113 lines (113 loc) · 3 KB
/
.mockery.yaml
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
104
105
106
107
108
109
110
111
112
113
# This is the top-level configuration file for mockery.
disable-version-string: True
with-expecter: False
inpackage: True
dir: "{{.InterfaceDir}}"
filename: "mock_{{ .InterfaceName | snakecase }}_test.go"
mockname: "mock{{ .InterfaceName | camelcase }}"
packages:
# managed
github.com/percona/pmm/managed/services/backup:
interfaces:
agentService:
compatibilityService:
jobsService:
pbmPITRService:
removalService:
Storage:
config:
mockname: "Mock{{ .InterfaceName | camelcase }}"
versioner:
github.com/percona/pmm/managed/services/checks:
interfaces:
agentsRegistry:
github.com/percona/pmm/managed/services/grafana:
interfaces:
awsInstanceChecker:
github.com/percona/pmm/managed/services/inventory:
interfaces:
agentService:
agentsRegistry:
agentsStateUpdater:
connectionChecker:
inventoryMetrics:
prometheusService:
serviceInfoBroker:
versionCache:
github.com/percona/pmm/managed/services/management:
interfaces:
agentsRegistry:
agentsStateUpdater:
apiKeyProvider:
checksService:
connectionChecker:
grafanaClient:
jobsService:
prometheusService:
serviceInfoBroker:
versionCache:
victoriaMetricsClient:
github.com/percona/pmm/managed/services/management/alerting:
interfaces:
grafanaClient:
github.com/percona/pmm/managed/services/management/backup:
interfaces:
awsS3:
backupService:
scheduleService:
removalService:
pbmPITRService:
github.com/percona/pmm/managed/services/management/dump:
interfaces:
dumpService:
github.com/percona/pmm/managed/services/qan:
interfaces:
qanCollectorClient:
github.com/percona/pmm/managed/services/scheduler:
interfaces:
backupService:
github.com/percona/pmm/managed/services/server:
interfaces:
agentsStateUpdater:
alertmanagerService:
checksService:
emailer:
grafanaClient:
prometheusService:
rulesService:
supervisordService:
telemetryService:
templatesService:
vmAlertExternalRules:
github.com/percona/pmm/managed/services/versioncache:
interfaces:
Versioner:
config:
mockname: "Mock{{ .InterfaceName | camelcase }}"
github.com/percona/pmm/managed/services/telemetry:
interfaces:
DataSource:
DataSourceLocator:
distributionUtilService:
sender:
# admin
github.com/percona/pmm/admin/commands/pmm/server/docker:
interfaces:
Functions:
config:
mockname: "Mock{{ .InterfaceName | camelcase }}"
# agent
github.com/percona/pmm/agent/agentlocal:
interfaces:
client:
supervisor:
github.com/percona/pmm/agent/client:
interfaces:
connectionChecker:
serviceInfoBroker:
supervisor:
github.com/percona/pmm/agent/versioner:
interfaces:
ExecFunctions:
config:
mockname: "Mock{{ .InterfaceName | camelcase }}"