-
-
Notifications
You must be signed in to change notification settings - Fork 326
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 conversion for ObjectRef<K>
to ObjectReference
#815
Add conversion for ObjectRef<K>
to ObjectReference
#815
Conversation
Codecov Report
@@ Coverage Diff @@
## master #815 +/- ##
==========================================
- Coverage 69.99% 69.83% -0.17%
==========================================
Files 57 57
Lines 3906 3938 +32
==========================================
+ Hits 2734 2750 +16
- Misses 1172 1188 +16
Continue to review full report at Codecov.
|
This covers step 1 and 2 of kube-rs#812, allowing `ObjectRef` objects to be used for emitting events to a `Recorder`. Signed-off-by: Teo Klestrup Röijezon <[email protected]>
Signed-off-by: Teo Klestrup Röijezon <[email protected]>
Signed-off-by: Teo Klestrup Röijezon <[email protected]>
c9e0abb
to
c27d07c
Compare
Signed-off-by: Teo Klestrup Röijezon <[email protected]>
This covers step 1 and 2 of #812, allowing
ObjectRef
objects to be used for emitting events to aRecorder
.It does not change the
Recorder
interface (yet), since we don't have a cheap way to convert anObjectReference
into anObjectRef<DynamicObject>
(sinceApiResource
requires knowing the pluralized resource name).