-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add mockery test case to token reconciler #446
Merged
Merged
Changes from 7 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
15edf23
Optimize logging for repo controller
efiacor b816d10
Revert removal of finalizer const
efiacor 349f652
Fix formatting
efiacor 9b3a5ae
Add tests using mockery to token reconciler
efiacor ddd53f4
Merge branch 'nephio-project:main' into token_rec_mockery
efiacor c1c9fc8
Merge branch 'nephio-project:main' into token_rec_mockery
efiacor e855c21
Rebase on main
efiacor ac45014
Merge branch 'main' into token_rec_mockery
liamfallon ad40b41
Fix go.mod
efiacor 5a4fe15
Merge branch 'main' into token_rec_mockery
efiacor 6b29826
Add testify lib to operators dir mod
efiacor 0748619
Add missing method from interface
efiacor a6cb358
Merge branch 'nephio-project:main' into token_rec_mockery
efiacor 0181f6f
Optimize logging for repo controller
efiacor 9e9e0c3
Revert removal of finalizer const
efiacor 70dcd07
Add tests using mockery to token reconciler
efiacor 86ea699
Fix go.mod
efiacor da3c2e0
Fix rebase errors
efiacor 24e8bd8
Update go.mod
efiacor 5e8317d
Revert removal of finalizer const
efiacor 5fcd6f1
Add tests using mockery to token reconciler
efiacor 3593345
Fix go.mod
efiacor 82bb12d
Add missing interface method mock
efiacor 66534d7
Fix mod.go again..
efiacor ba6cd12
Fix gofmt
efiacor 96a491d
Merge branch 'main' into token_rec_mockery
efiacor 6572b57
Fix rebase conflicts
efiacor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,6 @@ | ||
packages: | ||
github.com/nephio-project/nephio/controllers/pkg/giteaclient: | ||
interfaces: | ||
GiteaClient: | ||
config: | ||
dir: "{{.InterfaceDir}}" |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious as to why is this an
interface{}
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess to allow for a broader identifier.
https://gitea.com/gitea/go-sdk/src/branch/main/gitea/user_app.go#L118