• Clayton Coleman's avatar
    Unify Object and UnstructuredObject · 04ab96d2
    Clayton Coleman authored
    The unified RESTMapper and Typer follow the new rules, but on error will
    fallback to the legacy path (while still supporting Unstructured
    objects). This allows callers to handle the appropriate distinction
    themselves if necessary.
    
    Add a LocalParam() method to the resource.Builder that DRYs up a large
    chunk of complicated code in set commands.
    04ab96d2
convert_test.go 3.41 KB