Shrink runtime.TypeMeta to be equivalent to api TypeMeta

Remove unused fuzzing
This commit is contained in:
Clayton Coleman
2014-12-03 08:43:09 -05:00
parent dd24b013cb
commit 714dbf4522
4 changed files with 6 additions and 33 deletions

View File

@@ -16,9 +16,7 @@ limitations under the License.
package runtime
import (
"github.com/GoogleCloudPlatform/kubernetes/pkg/util"
)
import ()
// Note that the types provided in this file are not versioned and are intended to be
// safe to use from within all versions of every API object.
@@ -35,15 +33,8 @@ import (
// your own with the same fields.
//
type TypeMeta struct {
APIVersion string `json:"apiVersion,omitempty"`
Kind string `json:"kind,omitempty"`
Namespace string `json:"namespace,omitempty"`
Name string `json:"name,omitempty"`
UID string `json:"uid,omitempty"`
CreationTimestamp util.Time `json:"creationTimestamp,omitempty"`
SelfLink string `json:"selfLink,omitempty"`
ResourceVersion string `json:"resourceVersion,omitempty"`
APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
}
// PluginBase is like TypeMeta, but it's intended for plugin objects that won't ever be encoded