mirror of
https://github.com/kubernetes/client-go.git
synced 2025-12-24 21:52:28 +00:00
We have an existing helper function for this: runtime.SerializerInfoForMediaType() This is common prep-work for encoding runtime.Objects into JSON/YAML for transmission over the wire or writing to ComponentConfigs. Kubernetes-commit: 47e52d2981dc2a5c5950042f50688cf24dd92eda