kubernetes/test/declarative_validation/node/runtimeclass/zz_generated.validations.main_test.go
Yongrui Lin e35569096e Rename validation-gen test fixtures to zz_generated.validations.* prefix
Mechanical rename to match the new --test-output-file-prefix value;
file contents are unchanged.
2026-05-12 20:31:33 +00:00

43 lines
1 KiB
Go
Generated

//go:build !ignore_autogenerated
// +build !ignore_autogenerated
/*
Copyright The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by validation-gen. DO NOT EDIT.
package runtimeclass
import (
fmt "fmt"
os "os"
testing "testing"
coverage "k8s.io/apimachinery/pkg/test/coverage"
)
var apiVersions = []string{"v1", "v1alpha1", "v1beta1"}
func TestMain(m *testing.M) {
code := m.Run()
if err := coverage.AssertDeclarativeCoverage(); err != nil {
fmt.Fprintln(os.Stderr, err)
if code == 0 {
code = 1
}
}
os.Exit(code)
}