mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Revert "add prerelease lifecycle tags to apiregistration.k8s.io"
This reverts commit 823baa1fd0
.
This commit is contained in:
parent
1aee03f8c8
commit
24af2ed592
@ -14,7 +14,6 @@ go_library(
|
|||||||
"register.go",
|
"register.go",
|
||||||
"types.go",
|
"types.go",
|
||||||
"zz_generated.deepcopy.go",
|
"zz_generated.deepcopy.go",
|
||||||
"zz_generated.prerelease-lifecycle.go",
|
|
||||||
],
|
],
|
||||||
importmap = "k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/apis/apiregistration",
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/kube-aggregator/pkg/apis/apiregistration",
|
||||||
importpath = "k8s.io/kube-aggregator/pkg/apis/apiregistration",
|
importpath = "k8s.io/kube-aggregator/pkg/apis/apiregistration",
|
||||||
|
@ -16,7 +16,6 @@ limitations under the License.
|
|||||||
|
|
||||||
// +k8s:deepcopy-gen=package
|
// +k8s:deepcopy-gen=package
|
||||||
// +groupName=apiregistration.k8s.io
|
// +groupName=apiregistration.k8s.io
|
||||||
// +k8s:prerelease-lifecycle-gen=true
|
|
||||||
|
|
||||||
// Package apiregistration is the internal version of the API.
|
// Package apiregistration is the internal version of the API.
|
||||||
package apiregistration // import "k8s.io/kube-aggregator/pkg/apis/apiregistration"
|
package apiregistration // import "k8s.io/kube-aggregator/pkg/apis/apiregistration"
|
||||||
|
@ -19,10 +19,6 @@ package apiregistration
|
|||||||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
|
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.7
|
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
|
||||||
// +k8s:prerelease-lifecycle-gen:replacement=apiregistration.k8s.io,v1,APIServiceList
|
|
||||||
|
|
||||||
// APIServiceList is a list of APIService objects.
|
// APIServiceList is a list of APIService objects.
|
||||||
type APIServiceList struct {
|
type APIServiceList struct {
|
||||||
@ -133,10 +129,6 @@ type APIServiceStatus struct {
|
|||||||
// +genclient
|
// +genclient
|
||||||
// +genclient:nonNamespaced
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.7
|
|
||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
|
|
||||||
// +k8s:prerelease-lifecycle-gen:removed=1.22
|
|
||||||
// +k8s:prerelease-lifecycle-gen:replacement=apiregistration.k8s.io,v1,APIService
|
|
||||||
|
|
||||||
// APIService represents a server for a particular GroupVersion.
|
// APIService represents a server for a particular GroupVersion.
|
||||||
// Name must be "version.group".
|
// Name must be "version.group".
|
||||||
|
@ -1,73 +0,0 @@
|
|||||||
// +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 prerelease-lifecycle-gen. DO NOT EDIT.
|
|
||||||
|
|
||||||
package apiregistration
|
|
||||||
|
|
||||||
import (
|
|
||||||
schema "k8s.io/apimachinery/pkg/runtime/schema"
|
|
||||||
)
|
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
|
|
||||||
func (in *APIService) APILifecycleIntroduced() (major, minor int) {
|
|
||||||
return 1, 7
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
|
||||||
func (in *APIService) APILifecycleDeprecated() (major, minor int) {
|
|
||||||
return 1, 19
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
|
||||||
func (in *APIService) APILifecycleReplacement() schema.GroupVersionKind {
|
|
||||||
return schema.GroupVersionKind{Group: "apiregistration.k8s.io", Version: "v1", Kind: "APIService"}
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
|
||||||
func (in *APIService) APILifecycleRemoved() (major, minor int) {
|
|
||||||
return 1, 22
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
|
|
||||||
func (in *APIServiceList) APILifecycleIntroduced() (major, minor int) {
|
|
||||||
return 1, 7
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
|
|
||||||
func (in *APIServiceList) APILifecycleDeprecated() (major, minor int) {
|
|
||||||
return 1, 19
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
|
|
||||||
func (in *APIServiceList) APILifecycleReplacement() schema.GroupVersionKind {
|
|
||||||
return schema.GroupVersionKind{Group: "apiregistration.k8s.io", Version: "v1", Kind: "APIServiceList"}
|
|
||||||
}
|
|
||||||
|
|
||||||
// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
|
|
||||||
// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
|
|
||||||
func (in *APIServiceList) APILifecycleRemoved() (major, minor int) {
|
|
||||||
return 1, 22
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user