From 05a1b3f5a04d9fe90bd73a097947f7adc608afc5 Mon Sep 17 00:00:00 2001 From: Janet Kuo Date: Thu, 15 Dec 2016 14:20:26 -0800 Subject: [PATCH] Remove GroupMeta.Codec --- pkg/apimachinery/types.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/apimachinery/types.go b/pkg/apimachinery/types.go index 1085dd16943..3790b344b92 100644 --- a/pkg/apimachinery/types.go +++ b/pkg/apimachinery/types.go @@ -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