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

Method Encode

deprecated-dynamic/bad_debt.go:55–57  ·  view source on GitHub ↗
(obj runtime.Object, w io.Writer)

Source from the content-addressed store, hash-verified

53}
54
55func (dynamicCodec) Encode(obj runtime.Object, w io.Writer) error {
56 return unstructured.UnstructuredJSONScheme.Encode(obj, w)
57}
58
59// ContentConfig returns a rest.ContentConfig for dynamic types.
60// Deprecated only used by test code and its wrong

Callers 10

TestDeleteFunction · 0.45
TestDeleteCollectionFunction · 0.45
writeCachedFileMethod · 0.45
CreateMethod · 0.45
UpdateMethod · 0.45
UpdateStatusMethod · 0.45
DeleteMethod · 0.45
DeleteCollectionMethod · 0.45
TestDeleteFunction · 0.45
TestDeleteCollectionFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestDeleteFunction · 0.36
TestDeleteCollectionFunction · 0.36
TestDeleteFunction · 0.36
TestDeleteCollectionFunction · 0.36