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

kube-core type movement #519

Merged
merged 10 commits into from
May 18, 2021
Merged

kube-core type movement #519

merged 10 commits into from
May 18, 2021

Conversation

clux
Copy link
Member

@clux clux commented May 17, 2021

Follow up to #517

Moves more files to kube-core so that most core types and traits live therein, and kube gets the harder business logic around tokio and clients.

Could potentially move Api in to an async_trait into kube-core at some point, but no need for it atm.

  • Moved modules: kube::api::{metadata,object,dynamic, gvk} (but kept re-exports to avoid breaking)
  • Moved struct ErrorResponse (was used by WatchEvent (again, re-exported)
  • Renames Group from discovery to ApiGroup to match ApiResource (small follow-up to Separate GVK from ApiResource #495)

There is something to be said by the re-export structure, and the lack of re-exports inside kube-core, but it works as a first sketch I think.

@clux clux merged commit 5fa146b into master May 18, 2021
@clux clux deleted the fixup-prs branch May 18, 2021 08: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.

1 participant