Commit ff43bee1 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #22790 from wojtek-t/add_implements_serializer

Auto commit by PR queue bot
parents d7a87c22 b2648057
...@@ -60,6 +60,9 @@ type Serializer struct { ...@@ -60,6 +60,9 @@ type Serializer struct {
pretty bool pretty bool
} }
// Serializer implements Serializer
var _ runtime.Serializer = &Serializer{}
// Decode attempts to convert the provided data into YAML or JSON, extract the stored schema kind, apply the provided default gvk, and then // Decode attempts to convert the provided data into YAML or JSON, extract the stored schema kind, apply the provided default gvk, and then
// load that data into an object matching the desired schema kind or the provided into. If into is *runtime.Unknown, the raw data will be // load that data into an object matching the desired schema kind or the provided into. If into is *runtime.Unknown, the raw data will be
// extracted and no decoding will be performed. If into is not registered with the typer, then the object will be straight decoded using // extracted and no decoding will be performed. If into is not registered with the typer, then the object will be straight decoded using
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment