forked from DataDog/datadog-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mockery.yaml
44 lines (41 loc) · 1.33 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
with-expecter: false
dir: "{{.InterfaceDir}}/mocks"
outpkg: "mocks"
mockname: "{{.InterfaceName}}"
filename: "{{.InterfaceNameSnake}}.go"
packages:
# security agent
github.com/DataDog/datadog-agent/pkg/security/proto/api:
interfaces:
SecurityModuleServer:
SecurityModuleClient:
github.com/DataDog/datadog-agent/pkg/security/agent:
interfaces:
SecurityModuleClientWrapper:
github.com/DataDog/datadog-agent/pkg/eventmonitor/proto/api:
interfaces:
EventMonitoringModuleServer:
EventMonitoringModuleClient:
EventMonitoringModule_GetProcessEventsClient:
# processes
github.com/DataDog/datadog-agent/pkg/process/runner:
interfaces:
Submitter:
github.com/DataDog/datadog-agent/pkg/process/checks:
interfaces:
Check:
github.com/DataDog/datadog-agent/pkg/process/net:
interfaces:
SysProbeUtil:
github.com/DataDog/datadog-agent/pkg/process/procutil:
interfaces:
Probe:
# serializer
github.com/DataDog/datadog-agent/pkg/serializer:
interfaces:
MetricSerializer:
config:
mock-build-tags: test
replace-type:
# https://github.com/vektra/mockery/issues/331
- github.com/DataDog/datadog-agent/pkg/serializer/types.stubMessageBody=github.com/DataDog/datadog-agent/pkg/serializer/types.ProcessMessageBody