Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prerelease lifecycle tags to discovery #90567

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions staging/src/k8s.io/api/discovery/v1beta1/BUILD
Expand Up @@ -10,6 +10,7 @@ go_library(
"types_swagger_doc_generated.go",
"well_known_labels.go",
"zz_generated.deepcopy.go",
"zz_generated.prerelease-lifecycle.go",
],
importmap = "k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1beta1",
importpath = "k8s.io/api/discovery/v1beta1",
Expand Down
1 change: 1 addition & 0 deletions staging/src/k8s.io/api/discovery/v1beta1/doc.go
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +k8s:protobuf-gen=package
// +k8s:openapi-gen=true
// +k8s:prerelease-lifecycle-gen=true
// +groupName=discovery.k8s.io

package v1beta1 // import "k8s.io/api/discovery/v1beta1"
4 changes: 4 additions & 0 deletions staging/src/k8s.io/api/discovery/v1beta1/types.go
Expand Up @@ -23,6 +23,8 @@ import (

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.16
// +k8s:prerelease-lifecycle-gen:deprecated=1.22

// EndpointSlice represents a subset of the endpoints that implement a service.
// For a given service there may be multiple EndpointSlice objects, selected by
Expand Down Expand Up @@ -150,6 +152,8 @@ type EndpointPort struct {
}

// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.16
// +k8s:prerelease-lifecycle-gen:deprecated=1.22

// EndpointSliceList represents a list of endpoint slices
type EndpointSliceList struct {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.