Merge pull request #5124 from MikeJeffrey/ex3

Deleting old sample JSON; moving those in use; updating references
This commit is contained in:
Alex Mohr
2015-03-09 10:58:44 -07:00
12 changed files with 9 additions and 154 deletions

View File

@@ -98,14 +98,11 @@ func walkJSONFiles(inDir string, fn func(name, path string, data []byte)) error
func TestExampleObjectSchemas(t *testing.T) {
cases := map[string]map[string]runtime.Object{
"../api/examples": {
"controller": &api.ReplicationController{},
"controller-list": &api.ReplicationControllerList{},
"pod": &api.Pod{},
"pod-list": &api.PodList{},
"service": &api.Service{},
"external-service": &api.Service{},
"service-list": &api.ServiceList{},
"../docs/getting-started-guides": {
"pod": &api.Pod{},
},
"../cmd/integration": {
"controller": &api.ReplicationController{},
},
"../examples/guestbook": {
"frontend-controller": &api.ReplicationController{},