-
Notifications
You must be signed in to change notification settings - Fork 408
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new KeepTree flag - allows to preserve tree struct for mocks
* Using the keeptree flag allows to generate mocks in a different directory but keeping the original structure of the repo that is being mocked. * Very useful for kubernetes client-go that has sometimes 3 versions of the same interface name hence requires different folders. Easiest way is to keep the same tree structure as if it was "inPlace". * KeepTree flag is most useful when used with -all, -dir and -output.
- Loading branch information
Showing
3 changed files
with
39 additions
and
13 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
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