forked from wayfair-incubator/telefonistka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sd 854 parallelize fetching of argocd diff in telefonistka (#43)
* wip * Concurrent argocd diff * Move InitArgoClients out of server.go * Update internal/pkg/githubapi/github.go Co-authored-by: Hannes Gustafsson <[email protected]> * Update internal/pkg/argocd/argocd_test.go Co-authored-by: Hannes Gustafsson <[email protected]> * Update internal/pkg/argocd/argocd.go Co-authored-by: Hannes Gustafsson <[email protected]> * Update internal/pkg/argocd/argocd_test.go Co-authored-by: Hannes Gustafsson <[email protected]> * Update internal/pkg/argocd/argocd.go Co-authored-by: Hannes Gustafsson <[email protected]> * Update internal/pkg/argocd/argocd.go Co-authored-by: Hannes Gustafsson <[email protected]> * Update internal/pkg/argocd/argocd.go Co-authored-by: Hannes Gustafsson <[email protected]> * Use dependency injection with argocd client * Remove dangling err check --------- Co-authored-by: Hannes Gustafsson <[email protected]>
- Loading branch information
1 parent
8ded097
commit a77da6a
Showing
5 changed files
with
149 additions
and
17 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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/telefonistka | ||
vendor/ | ||
internal/pkg/mocks/argocd_settings.go | ||
internal/pkg/mocks/argocd_project.go |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ package mocks | |
// This package contains generated mocks | ||
|
||
//go:generate go run github.com/golang/mock/[email protected] -destination=argocd_application.go -package=mocks github.com/argoproj/argo-cd/v2/pkg/apiclient/application ApplicationServiceClient | ||
|
||
//go:generate go run github.com/golang/mock/[email protected] -destination=argocd_settings.go -package=mocks github.com/argoproj/argo-cd/v2/pkg/apiclient/settings SettingsServiceClient | ||
|
||
//go:generate go run github.com/golang/mock/[email protected] -destination=argocd_project.go -package=mocks github.com/argoproj/argo-cd/v2/pkg/apiclient/project ProjectServiceClient |