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

Method DecoderToVersion

rest/config_test.go:209–211  ·  view source on GitHub ↗
(serializer runtime.Decoder, gv runtime.GroupVersioner)

Source from the content-addressed store, hash-verified

207}
208
209func (n *fakeNegotiatedSerializer) DecoderToVersion(serializer runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder {
210 return &fakeCodec{}
211}
212
213var fakeDialFunc = func(ctx context.Context, network, addr string) (net.Conn, error) {
214 return nil, fakeDialerError

Callers 3

createSerializersFunction · 0.45
getDecoderFunction · 0.45
requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected