-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: native client mock should be generated with go gen (#17864)
* fix: native client mock should be generated with go gen Signed-off-by: pashakostohrys <[email protected]> * fix: native client mock should be generated with go gen Signed-off-by: pashakostohrys <[email protected]> * fix: native client mock should be generated with go gen Signed-off-by: pashakostohrys <[email protected]> * adopt repository_test.go to new helm mock client Signed-off-by: pashakostohrys <[email protected]> --------- Signed-off-by: pashakostohrys <[email protected]>
- Loading branch information
1 parent
e12fae8
commit 48b636e
Showing
3 changed files
with
52 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,8 @@ import ( | |
"github.com/argoproj/argo-cd/v2/util/proxy" | ||
) | ||
|
||
//go:generate go run github.com/vektra/mockery/[email protected] --name=Client | ||
|
||
var ( | ||
globalLock = sync.NewKeyLock() | ||
indexLock = sync.NewKeyLock() | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.