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

Method Decode

rest/config_test.go:181–183  ·  view source on GitHub ↗
([]byte, *schema.GroupVersionKind, runtime.Object)

Source from the content-addressed store, hash-verified

179type fakeCodec struct{}
180
181func (c *fakeCodec) Decode([]byte, *schema.GroupVersionKind, runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) {
182 return nil, nil, nil
183}
184
185func (c *fakeCodec) Encode(obj runtime.Object, stream io.Writer) error {
186 return nil

Callers 15

LoadFunction · 0.45
fakeScaleClientFunction · 0.45
GetMethod · 0.45
UpdateMethod · 0.45
refreshCredsLockedMethod · 0.45
TestSerializerFunction · 0.45
validateFunction · 0.45
GetMethod · 0.45
IntoMethod · 0.45
ErrorMethod · 0.45
ParsePrivateKeyPEMFunction · 0.45
ParsePublicKeysPEMFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected