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

WIP: Core methods on Client #1037

Closed
wants to merge 3 commits into from
Closed

WIP: Core methods on Client #1037

wants to merge 3 commits into from

Conversation

clux
Copy link
Member

@clux clux commented Sep 29, 2022

Tries to implement core methods on Client directly as a WIP for #1032.

Features:

  • lots of duplicated functions for different scopes that could have been solved by having specialization
  • support for create and delete in all scopes
  • support for create_subresource in NS + Cluster scope

Early draft. Super ugly, undocumented, and a sketch. But wanted to show work early. Needs Api to move over to use these.

Signed-off-by: clux <sszynrae@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2022

Codecov Report

Merging #1037 (5d61922) into main (43e6875) will decrease coverage by 0.60%.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1037      +/-   ##
==========================================
- Coverage   72.76%   72.16%   -0.60%     
==========================================
  Files          66       67       +1     
  Lines        5063     5105      +42     
==========================================
  Hits         3684     3684              
- Misses       1379     1421      +42     
Impacted Files Coverage Δ
kube-client/src/client/mod.rs 71.34% <ø> (ø)
kube-client/src/client/request.rs 0.00% <0.00%> (ø)
kube-core/src/resource.rs 53.57% <ø> (ø)

Signed-off-by: clux <sszynrae@gmail.com>
@clux
Copy link
Member Author

clux commented Sep 30, 2022

Going to pause this to tackle #1036 first. It's not possible to proceed with making subresource requests sane without at least having Scope on ApiResource.

@clux
Copy link
Member Author

clux commented Mar 18, 2024

closed in favour of #1375

@clux clux closed this Mar 18, 2024
@clux clux deleted the client-core-methods branch March 18, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants