Invert api and api/v1beta1 dependencies

This is some cleanup that has been needed for a while.
There's still one more step that could usefully be done, which is to
split up our api package into the part that provides the helper
functions and the part that provides the internal types. That can come
later.

The v1beta1 package is now a good example of what an api plugin should
do to version its types.
This commit is contained in:
Daniel Smith
2014-08-29 12:15:30 -07:00
parent d13e59c8d9
commit aa9b9b9fa8
13 changed files with 121 additions and 82 deletions

View File

@@ -25,6 +25,7 @@ import (
"testing"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
_ "github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta1"
"github.com/golang/glog"
)