forked from hashicorp/consul
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.grpcmocks.yaml
More file actions
20 lines (19 loc) · 738 Bytes
/
.grpcmocks.yaml
File metadata and controls
20 lines (19 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
dir: grpcmocks/{{.InterfaceDirRelative}}
exclude-interface-regex: (serverStream|Is(Inmem|Cloning).*Client)
include-interface-regex: .*
structname: '{{.InterfaceName}}'
pkgname: mock{{.SrcPackageName}}
recursive: true
template: testify
filename: 'mock_{{.InterfaceName}}.go'
template-data:
unroll-variadic: true
packages:
github.com/hashicorp/consul/proto-public/pbacl: {}
github.com/hashicorp/consul/proto-public/pbconnectca: {}
github.com/hashicorp/consul/proto-public/pbdataplane: {}
github.com/hashicorp/consul/proto-public/pbdns: {}
github.com/hashicorp/consul/proto-public/pbresource: {}
github.com/hashicorp/consul/proto-public/pbserverdiscovery: {}