MCPcopy
hub / github.com/kubernetes/client-go / DecoderToVersion

Method DecoderToVersion

dynamic/scheme.go:71–73  ·  view source on GitHub ↗
(decoder runtime.Decoder, gv runtime.GroupVersioner)

Source from the content-addressed store, hash-verified

69}
70
71func (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
76type basicNegotiatedSerializer struct{}

Callers 1

WatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected