mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Generate conversion methods for v1 api.
This commit is contained in:
parent
7ba41626e9
commit
c2f2faeb07
File diff suppressed because it is too large
Load Diff
4469
pkg/api/v1/conversion_generated.go
Normal file
4469
pkg/api/v1/conversion_generated.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user