Issue 1:
I'm playing with k8s by writing a go client to contact k8s api. However, when doing "go get k8s.io/kubernetes/pkg/api", there are too many errors:

$ go get k8s.io/kubernetes/pkg/api

k8s.io/kubernetes/pkg/api

../../../k8s.io/kubernetes/pkg/api/types.generated.go:439: r.EncodeEnd undefined (type codec.encDriver has no field or method EncodeEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:454: r.IsContainerType undefined (type codec.decDriver has no field or method IsContainerType)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:457: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:461: r.IsContainerType undefined (type codec.decDriver has no field or method IsContainerType)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:464: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:619: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:637: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:652: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:667: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:682: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)

../../../k8s.io/kubernetes/pkg/api/types.generated.go:682: too many errors

Issue 2:
$ # with an empty GOPATH
$ go get k8s.io/kubernetes/pkg/api

What I expected to happen: the package is fetched, compiled, and made available for use.

What actually happened:

# k8s.io/kubernetes/pkg/api
src/k8s.io/kubernetes/pkg/api/types.generated.go:439: r.EncodeEnd undefined (type codec.encDriver has no field or method EncodeEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:454: r.IsContainerType undefined (type codec.decDriver has no field or method IsContainerType)
src/k8s.io/kubernetes/pkg/api/types.generated.go:457: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:461: r.IsContainerType undefined (type codec.decDriver has no field or method IsContainerType)
src/k8s.io/kubernetes/pkg/api/types.generated.go:464: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:619: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:637: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:652: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:667: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:682: r.ReadEnd undefined (type codec.decDriver has no field or method ReadEnd)
src/k8s.io/kubernetes/pkg/api/types.generated.go:682: too many errors

type.generated.go needs to be regenerated with the latest codec.

It is insufficient to say this is handled by Godeps, as third-party packages directly import "k8s.io/kumernetes/pkg/api", and you don't rewrite your import paths.