Skip to content
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

Remove dependency of generated client part 2 #7041

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

blackpiglet
Copy link
Contributor

@blackpiglet blackpiglet commented Oct 31, 2023

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #6190

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #7041 (a221a88) into main (23921e5) will increase coverage by 0.00%.
Report is 29 commits behind head on main.
The diff coverage is 50.74%.

@@           Coverage Diff            @@
##             main    #7041    +/-   ##
========================================
  Coverage   61.00%   61.01%            
========================================
  Files         252      255     +3     
  Lines       26898    27050   +152     
========================================
+ Hits        16409    16504    +95     
- Misses       9326     9364    +38     
- Partials     1163     1182    +19     
Files Coverage Δ
pkg/persistence/object_store.go 69.53% <100.00%> (+0.15%) ⬆️
pkg/podvolume/backupper_factory.go 80.00% <85.71%> (-8.47%) ⬇️
pkg/podvolume/restorer_factory.go 81.25% <87.50%> (-7.22%) ⬇️
pkg/client/retry.go 0.00% <0.00%> (ø)
pkg/podvolume/restorer.go 85.34% <69.23%> (-4.82%) ⬇️
pkg/podvolume/backupper.go 80.38% <60.00%> (-2.89%) ⬇️
pkg/cmd/server/server.go 21.83% <0.00%> (-0.20%) ⬇️

... and 9 files with indirect coverage changes

@blackpiglet blackpiglet force-pushed the 6190_part_2 branch 4 times, most recently from 995fae7 to 1b5449a Compare November 2, 2023 01:45
@blackpiglet blackpiglet marked this pull request as ready for review November 2, 2023 02:17
@blackpiglet blackpiglet changed the title 6190 part 2 Remove dependency of generated client part 2 Nov 2, 2023
@blackpiglet blackpiglet force-pushed the 6190_part_2 branch 3 times, most recently from 5b8af66 to 2334709 Compare November 2, 2023 03:37
@blackpiglet blackpiglet force-pushed the 6190_part_2 branch 2 times, most recently from bd7b124 to 1cc0ce7 Compare November 3, 2023 09:10
Remove dependecy of generate client from pkg/cmd/cli/snapshotLocation.
Remove the Velero generated informer from PVB and PVR. 
Remove dependency of generated client from pkg/podvolume directory.
Replace generated codec with runtime codec. 

Signed-off-by: Xun Jiang <[email protected]>
@Lyndon-Li Lyndon-Li merged commit d6146ec into vmware-tanzu:main Nov 3, 2023
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate how to remove the generated legacy client-go code.
3 participants