• k8s-merge-robot's avatar
    Merge pull request #25540 from krousey/discovery_mapper · c05c1d24
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Adding support objects for integrating dynamic client the kubectl builder
    
    Kubectl will try to decode into `runtime.VersionedObjects`, so the `UnstructuredJSONScheme` needs to handle that intelligently.
    
    Kubectl's builder also needs a `meta.RESTMapper` and `runtime.Typer`. The `meta.RESTMapper` requires a `runtime.ObjectConvertor` (spelling?) that works with `runtime.Unstructured`. The mapper and typer required discovery info, so I just put that in the kubectl util package since it didn't really seem to fit anywhere else. 
    
    Subsequent PRs will be using these in kubectl.
    
    cc @kubernetes/sig-api-machinery @smarterclayton @liggitt @lavalamp 
    c05c1d24
Name
Last commit
Last update
..
serializer Loading commit data...
OWNERS Loading commit data...
codec.go Loading commit data...
codec_check.go Loading commit data...
conversion.go Loading commit data...
conversion_test.go Loading commit data...
deep_copy_generated.go Loading commit data...
doc.go Loading commit data...
embedded.go Loading commit data...
embedded_test.go Loading commit data...
error.go Loading commit data...
extension.go Loading commit data...
extension_test.go Loading commit data...
generated.pb.go Loading commit data...
generated.proto Loading commit data...
helper.go Loading commit data...
helper_test.go Loading commit data...
interfaces.go Loading commit data...
register.go Loading commit data...
scheme.go Loading commit data...
scheme_test.go Loading commit data...
swagger_doc_generator.go Loading commit data...
swagger_doc_generator_test.go Loading commit data...
types.go Loading commit data...
types_proto.go Loading commit data...
unstructured.go Loading commit data...
unstructured_test.go Loading commit data...
unversioned_test.go Loading commit data...