Remove GroupMeta.Codec

This commit is contained in:
Janet Kuo 2016-12-15 14:20:26 -08:00
parent 82edbf1ddc
commit 05a1b3f5a0

View File

@ -32,12 +32,6 @@ type GroupMeta struct {
// GroupVersions is Group + all versions in that group.
GroupVersions []schema.GroupVersion
// Codec is the default codec for serializing output that should use
// the preferred version. Use this Codec when writing to
// disk, a data store that is not dynamically versioned, or in tests.
// This codec can decode any object that the schema is aware of.
Codec runtime.Codec
// SelfLinker can set or get the SelfLink field of all API types.
// TODO: when versioning changes, make this part of each API definition.
// TODO(lavalamp): Combine SelfLinker & ResourceVersioner interfaces, force all uses