-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate to new Mockery config (#5684)
Closes #5564. Signed-off-by: Harshil Patel <harshilpatel1973@gmail.com>
- Loading branch information
1 parent
0b1d23c
commit 55d98f7
Showing
7 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
with-expecter: False | ||
mockname: "{{.InterfaceName}}" | ||
filename: "{{.InterfaceNameSnake}}.go" | ||
outpkg: "mocks" | ||
dir: '{{trimPrefix .PackagePath "github.com/projectcontour/contour/" }}/mocks' | ||
disable-version-string: True | ||
packages: | ||
sigs.k8s.io/controller-runtime/pkg/manager: | ||
config: | ||
dir: "internal/controller/mocks" | ||
interfaces: | ||
Manager: | ||
github.com/projectcontour/contour/internal/debug: | ||
interfaces: | ||
DagBuilder: | ||
github.com/projectcontour/contour/internal/k8s: | ||
interfaces: | ||
StatusMetrics: | ||
sigs.k8s.io/controller-runtime/pkg/cache: | ||
config: | ||
dir: "internal/k8s/mocks" | ||
interfaces: | ||
Cache: | ||
github.com/projectcontour/contour/internal/leadership: | ||
interfaces: | ||
NeedLeaderElectionNotification: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters