-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.mockery.yaml
More file actions
101 lines (87 loc) · 2.65 KB
/
.mockery.yaml
File metadata and controls
101 lines (87 loc) · 2.65 KB
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
with-expecter: true
packages:
# External dependencies only - following the principle of only mocking external services
# Internal service interfaces should use real implementations in tests
# OpenFGA - External service
github.com/openfga/api/proto/openfga/v1:
config:
dir: pkg/fga/mocks
outpkg: mocks
interfaces:
OpenFGAServiceClient:
config:
mockname: OpenFGAServiceClient
# Platform-mesh commons FGA store helper - External dependency
github.com/platform-mesh/golang-commons/fga/store:
config:
dir: pkg/fga/mocks
outpkg: mocks
interfaces:
FGAStoreHelper:
config:
mockname: FGAStoreHelper
# Keycloak HTTP client - External service interface (wraps external Keycloak API)
github.com/platform-mesh/iam-service/pkg/keycloak:
config:
dir: pkg/keycloak/mocks
outpkg: mocks
interfaces:
KeycloakClientInterface:
config:
mockname: KeycloakClientInterface
github.com/platform-mesh/iam-service/pkg/accountinfo:
config:
dir: pkg/accountinfo/mocks
outpkg: mocks
interfaces:
Retriever:
config:
mockname: Retriever
github.com/kcp-dev/sdk/client/clientset/versioned/cluster:
config:
dir: pkg/accountinfo/mocks
outpkg: mocks
interfaces:
ClusterInterface:
config:
mockname: ClusterInterface
github.com/kcp-dev/sdk/client/clientset/versioned:
config:
dir: pkg/accountinfo/mocks
outpkg: mocks
interfaces:
CoreV1alpha1Interface:
config:
mockname: CoreV1alpha1Interface
Interface:
config:
mockname: Interface
github.com/kcp-dev/sdk/client/clientset/versioned/typed/core/v1alpha1:
config:
dir: pkg/accountinfo/mocks
outpkg: mocks
interfaces:
CoreV1alpha1Interface:
config:
mockname: CoreV1alpha1Interface
LogicalClusterInterface:
config:
mockname: LogicalClusterInterface
# Workspace ClientFactory - External dependency for KCP workspace client creation
github.com/platform-mesh/iam-service/pkg/workspace:
config:
dir: pkg/fga/mocks
outpkg: mocks
interfaces:
ClientFactory:
config:
mockname: ClientFactory
# IDMUserChecker - External IDM service dependency (could be Keycloak or other IDM systems)
github.com/platform-mesh/iam-service/pkg/fga:
config:
dir: pkg/fga/mocks
outpkg: mocks
interfaces:
IDMUserChecker:
config:
mockname: IDMUserChecker