mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #8056 from wojtek-t/generate_conversions_for_v1
Generate conversion methods for v1 api.
This commit is contained in:
commit
d85d7de444
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"
|
"testing"
|
||||||
|
|
||||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api"
|
"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/GoogleCloudPlatform/kubernetes/pkg/runtime"
|
||||||
|
|
||||||
"github.com/golang/glog"
|
"github.com/golang/glog"
|
||||||
@ -143,7 +145,7 @@ func compareBuffers(t *testing.T, generatedFile string, existing, generated byte
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestNoManualChangesToGenerateConversions(t *testing.T) {
|
func TestNoManualChangesToGenerateConversions(t *testing.T) {
|
||||||
versions := []string{"v1beta3"}
|
versions := []string{"v1beta3", "v1"}
|
||||||
|
|
||||||
for _, version := range versions {
|
for _, version := range versions {
|
||||||
fileName := fmt.Sprintf("../../pkg/api/%s/conversion_generated.go", version)
|
fileName := fmt.Sprintf("../../pkg/api/%s/conversion_generated.go", version)
|
||||||
|
Loading…
Reference in New Issue
Block a user