-
Notifications
You must be signed in to change notification settings - Fork 28
/
.vendor.mockery.yaml
73 lines (70 loc) · 1.74 KB
/
.vendor.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
all: False
disable-version-string: True
filename: "{{.InterfaceNameSnake}}.go"
mockname: "{{.InterfaceName}}Mock"
with-expecter: True
recursive: False
dir: mocks
outpkg: mocks
inpackage: False
# If you wish to mock an interface from the vendor, you need to define both the package and the specific interface you want to mock.
packages:
net/http:
interfaces:
RoundTripper:
config:
mockname: RoundTripperMock
io/fs:
interfaces:
StatFS:
config:
mockname: StatFSMock
sigs.k8s.io/controller-runtime/pkg/controller:
interfaces:
Controller:
config:
mockname: RuntimeControllerMock
sigs.k8s.io/controller-runtime/pkg/client:
interfaces:
Reader:
config:
mockname: ReaderMock
Client:
config:
mockname: K8SClientMock
sigs.k8s.io/controller-runtime/pkg/cache:
interfaces:
Informer:
config:
mockname: CacheInformerMock
sigs.k8s.io/controller-runtime/pkg/source:
interfaces:
SyncingSource:
config:
mockname: SyncingSourceMock
sigs.k8s.io/controller-runtime/pkg/manager:
interfaces:
Manager:
config:
mockname: ManagerMock
k8s.io/client-go/tools/record:
interfaces:
EventRecorder:
config:
mockname: EventRecorderMock
EventBroadcaster:
config:
mockname: EventBroadcasterMock
k8s.io/client-go/tools/cache:
interfaces:
ResourceEventHandler:
config:
mockname: ResourceEventHandlerMock
Watcher:
config:
mockname: CacheWatcherMock
github.com/DataDog/datadog-go/statsd:
interfaces:
ClientInterface:
config:
mockname: ClientStatsdMock