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

@@ -211,7 +211,7 @@ func RunController(ctx api.Context, image, name string, replicas int, client cli
return err
}
controller := &api.ReplicationController{
JSONBase: api.JSONBase{
TypeMeta: api.TypeMeta{
ID: name,
},
DesiredState: api.ReplicationControllerState{
@@ -265,7 +265,7 @@ func RunController(ctx api.Context, image, name string, replicas int, client cli
func createService(ctx api.Context, name string, port int, client client.Interface) (*api.Service, error) {
svc := &api.Service{
JSONBase: api.JSONBase{ID: name},
TypeMeta: api.TypeMeta{ID: name},
Port: port,
Labels: map[string]string{
"simpleService": name,