Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
deads2k
e2d280a592
external versions no longer need reordering
2016-01-04 15:07:54 -05:00
Chao Xu
ad484c79f7
pass runtime.Scheme as parameter to AddToScheme
2015-12-23 23:21:35 -08:00
Chao Xu
2b5b708b70
Refactor the API registration and installation
2015-12-23 22:44:25 -08:00
deads2k
6e33403abf
update CodecFor for GroupVersion
2015-12-15 10:56:00 -05:00
deads2k
7a83ce60e6
refactor group registration
2015-12-15 08:37:07 -05:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
deads2k
ec87d74ecb
update InterfacesFor to use GroupVersion
2015-12-11 13:45:41 -05:00
deads2k
675d8a235e
remove Versions from GroupMeta
2015-12-02 16:16:36 -05:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
deads2k
c40dd0335a
make DefaultRESTMapper methods type correct
2015-11-24 14:17:37 -05:00
deads2k
5077e9b644
make register.GroupVersion use GroupVersion
2015-11-24 09:45:36 -05:00
Tim St. Clair
5cd5b80f9e
Set up new "metrics" API group.
...
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00