• Clayton Coleman's avatar
    Decouple apiserver from codec implementation · c9fc0bcf
    Clayton Coleman authored
    The apiserver on initialization must be provided with a codec
    for encoding and decoding all handled objects including api.Status
    and api.ServerOp.  In addition, the RESTStorage Extract() method
    has been changed to New(), which returns a pointer object that the
    codec must decode into (the internal object).  Switched registry
    methods to use pointers for Create/Update instead of values.
    c9fc0bcf
minionproxy_test.go 4.28 KB