-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.mockery.yaml
More file actions
63 lines (63 loc) · 1.71 KB
/
Copy path.mockery.yaml
File metadata and controls
63 lines (63 loc) · 1.71 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
all: false
dir: '{{.InterfaceDir}}'
filename: mocks.go
force-file-write: true
formatter: goimports
log-level: info
structname: '{{.Mock}}{{.InterfaceName}}'
pkgname: '{{.SrcPackageName}}'
recursive: false
replace-type:
go.temporal.io/sdk/internal:
Context:
pkg-path: go.temporal.io/sdk/workflow
type-name: Context
require-template-schema-exists: true
template: testify
template-schema: '{{.Template}}.schema.json'
template-data:
unroll-variadic: true
packages:
github.com/cludden/protoc-gen-go-temporal/gen/example/v1:
config:
dir: mocks/example/v1
pkgname: examplev1mocks
interfaces:
CreateFooRun: {}
ExampleClient: {}
UpdateFooProgressHandle: {}
github.com/cludden/protoc-gen-go-temporal/gen/test/simple/v1:
config:
dir: mocks/test/simple/v1
pkgname: simplev1mocks
interfaces:
SimpleWorkflowFunctions: {}
github.com/cludden/protoc-gen-go-temporal/gen/test/xnserr/v1:
config:
dir: mocks/test/xnserr/v1
pkgname: xnserrv1mocks
interfaces:
ServerClient: {}
SleepRun: {}
go.temporal.io/sdk/client:
config:
dir: mocks/go.temporal.io/sdk/client
pkgname: clientmocks
interfaces:
Client: {}
WorkflowRun:
configs:
- replace-type:
go.temporal.io/sdk/internal:
Context:
pkg-path: go.temporal.io/sdk/workflow
type-name: Context
WorkflowRunGetOptions:
pkg-path: go.temporal.io/sdk/client
type-name: WorkflowRunGetOptions
go.temporal.io/sdk/worker:
config:
dir: mocks/go.temporal.io/sdk/worker
pkgname: workermocks
interfaces:
Registry: {}