mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #93211 from liggitt/crdlist
Make CRDList lifecycle consistent with CRD
This commit is contained in:
		@@ -406,7 +406,8 @@ type CustomResourceDefinition struct {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// +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:introduced=1.7
 | 
				
			||||||
// +k8s:prerelease-lifecycle-gen:deprecated=1.19
 | 
					// +k8s:prerelease-lifecycle-gen:deprecated=1.16
 | 
				
			||||||
 | 
					// +k8s:prerelease-lifecycle-gen:removed=1.22
 | 
				
			||||||
// +k8s:prerelease-lifecycle-gen:replacement=apiextensions.k8s.io,v1,CustomResourceDefinitionList
 | 
					// +k8s:prerelease-lifecycle-gen:replacement=apiextensions.k8s.io,v1,CustomResourceDefinitionList
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
 | 
					// CustomResourceDefinitionList is a list of CustomResourceDefinition objects.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -81,7 +81,7 @@ func (in *CustomResourceDefinitionList) APILifecycleIntroduced() (major, minor i
 | 
				
			|||||||
// 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.
 | 
					// 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.
 | 
					// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or  "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
 | 
				
			||||||
func (in *CustomResourceDefinitionList) APILifecycleDeprecated() (major, minor int) {
 | 
					func (in *CustomResourceDefinitionList) APILifecycleDeprecated() (major, minor int) {
 | 
				
			||||||
	return 1, 19
 | 
						return 1, 16
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
 | 
					// APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user