Rename JSONBase -> TypeMeta in preparation for v1beta3

Will make subsequent refactor much easier
This commit is contained in:
Clayton Coleman
2014-10-07 11:12:16 -04:00
parent e294cef9d4
commit d3e51a0f24
69 changed files with 464 additions and 464 deletions

View File

@@ -35,7 +35,7 @@ func TestGetReference(t *testing.T) {
}{
"pod": {
obj: &Pod{
JSONBase: JSONBase{
TypeMeta: TypeMeta{
ID: "foo",
ResourceVersion: 42,
SelfLink: "/api/v1beta1/pods/foo",
@@ -51,7 +51,7 @@ func TestGetReference(t *testing.T) {
},
"serviceList": {
obj: &ServiceList{
JSONBase: JSONBase{
TypeMeta: TypeMeta{
ID: "foo",
ResourceVersion: 42,
SelfLink: "/api/v1beta2/services",
@@ -67,7 +67,7 @@ func TestGetReference(t *testing.T) {
},
"badSelfLink": {
obj: &ServiceList{
JSONBase: JSONBase{
TypeMeta: TypeMeta{
ID: "foo",
ResourceVersion: 42,
SelfLink: "v1beta2/services",