2023-12-13 15:06:39 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
|
|
with-expecter: true
|
|
|
|
recursive: true
|
2024-01-12 16:54:07 +00:00
|
|
|
include-regex: ".*"
|
|
|
|
exclude-regex: "(serverStream|Is(Inmem|Cloning).*Client)"
|
2023-12-13 15:06:39 +00:00
|
|
|
# We don't want the mocks within proto-public to prevent forcing a dependency
|
|
|
|
# of the testify library on the modules usage. The mocks are only for
|
|
|
|
# internal testing purposes. Other consumers can generated the mocks into
|
|
|
|
# their own code base.
|
|
|
|
dir: "grpcmocks/{{.InterfaceDirRelative}}"
|
|
|
|
outpkg: "mock{{.PackageName}}"
|
|
|
|
mockname: "{{.InterfaceName}}"
|
|
|
|
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/pbserverdiscovery:
|
|
|
|
github.com/hashicorp/consul/proto-public/pbresource:
|
|
|
|
github.com/hashicorp/consul/proto-public/pbdns:
|