• leigh capili's avatar
    Refactor loops over SupportedMediaTypes() where mediaType is used to match a… · 47e52d29
    leigh capili authored
    Refactor loops over SupportedMediaTypes() where mediaType is used to match a single SerializerInfo{}
    
    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.
    47e52d29
Name
Last commit
Last update
..
BUILD Loading commit data...
configfile.go Loading commit data...
deprecated.go Loading commit data...
deprecated_test.go Loading commit data...
insecure_serving.go Loading commit data...
insecure_serving_test.go Loading commit data...
options.go Loading commit data...
options_test.go Loading commit data...