Method
DecoderToVersion
(decoder runtime.Decoder, gv runtime.GroupVersioner)
Source from the content-addressed store, hash-verified
| 69 | } |
| 70 | |
| 71 | func (s watchNegotiatedSerializer) DecoderToVersion(decoder runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder { |
| 72 | return versioning.NewDefaultingCodecForScheme(watchScheme, nil, decoder, nil, gv) |
| 73 | } |
| 74 | |
| 75 | // basicNegotiatedSerializer is used to handle discovery and error handling serialization |
| 76 | type basicNegotiatedSerializer struct{} |
Tested by
no test coverage detected