mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Remove the autoscaling/v1.Scale, apps/v1beta1.Scale, and apps/v1beta2.Scale entries from coverage-allowlist.yaml, then regenerate declarative-validation test fixtures so the corresponding RegisterDeclaredRules calls and TestMain files are emitted under autoscaling/scale/ and apps/scale/.
38 lines
1 KiB
Go
Generated
38 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 scale
|
|
|
|
import (
|
|
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
|
coverage "k8s.io/apimachinery/pkg/test/coverage"
|
|
)
|
|
|
|
func init() {
|
|
coverage.RegisterDeclaredRules(
|
|
schema.GroupVersionKind{Group: "apps", Version: "v1beta1", Kind: "Scale"},
|
|
coverage.FieldRules{
|
|
"spec.replicas": {
|
|
{ErrorType: "FieldValueInvalid", Origin: "minimum"},
|
|
},
|
|
},
|
|
)
|
|
}
|