kubernetes-client icon indicating copy to clipboard operation
kubernetes-client copied to clipboard

Clean up `HasMetadata` and `CustomResource` API

Open metacosm opened this issue 3 years ago • 3 comments

Is your enhancement related to a problem? Please describe

Methods that are currently scoped or target only for CustomResource implementations could make sense for wider use for classes that implement HasMetadata. We also need to unify the methods on HasMetadata as well because some methods are only available as static versions when they would also make sense as instance methods (e.g. getGroup)… Generally speaking it feels that a lot of what's currently specific to CustomResources could also be applicable to HasMetadata and maybe CustomResource should only be a sort of marker interface?

Describe the solution you'd like

Unify CustomResource and HasMetadata APIs.

Describe alternatives you've considered

No response

Additional context

No response

metacosm avatar Jan 19 '22 11:01 metacosm

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Apr 19 '22 14:04 stale[bot]

@metacosm : polite ping, are you still working on this? I was wondering if we could take this up

rohanKanojia avatar Jun 08 '22 07:06 rohanKanojia

Hi @rohanKanojia, nope… Wanted to but there was always something else I needed to do first :( Feel free to re-assign.

metacosm avatar Jun 08 '22 12:06 metacosm

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

stale[bot] avatar Sep 06 '22 17:09 stale[bot]