type dynamicCodec … func (dynamicCodec) Decode(data []byte, gvk *schema.GroupVersionKind, obj runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { … } func (dynamicCodec) Encode(obj runtime.Object, w io.Writer) error { … } // Identifier implements runtime.Encoder interface. func (dynamicCodec) Identifier() runtime.Identifier { … } // UnstructuredPlusDefaultContentConfig returns a rest.ContentConfig for dynamic types. It includes enough codecs to act as a "normal" // serializer for the rest.client with options, status and the like. func UnstructuredPlusDefaultContentConfig() rest.ContentConfig { … }