Generate conversion methods for v1 api.

This commit is contained in:
Wojciech Tyczynski 2015-05-11 17:03:38 +02:00
parent 7ba41626e9
commit c2f2faeb07
3 changed files with 4666 additions and 2819 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,8 @@ import (
"testing"
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
_ "github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1"
_ "github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta3"
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
"github.com/golang/glog"
@ -143,7 +145,7 @@ func compareBuffers(t *testing.T, generatedFile string, existing, generated byte
}
func TestNoManualChangesToGenerateConversions(t *testing.T) {
versions := []string{"v1beta3"}
versions := []string{"v1beta3", "v1"}
for _, version := range versions {
fileName := fmt.Sprintf("../../pkg/api/%s/conversion_generated.go", version)