code-generator: k8s.io/code-generator/cmd/prerelease-lifecycle-gen Files | Directories

Command prerelease-lifecycle-gen

prerelease-lifecycle-gen is a tool for auto-generating api-status.csv files.

Given a list of input directories, it will create a zz_api_status.go file for all beta APIs which indicates the kinds, the release it was introduced, the release it will be deprecated, and the release it will be removed.

Generation is governed by comment tags in the source. Any package may request Status generation by including a comment in the file-comments of one file, of the form:

// +k8s:prerelease-lifecycle-gen=package

// +k8s:prerelease-lifecycle-gen:introduced=1.19 // +k8s:prerelease-lifecycle-gen:to-be-deprecated=1.22 // +k8s:prerelease-lifecycle-gen:to-be-removed=1.25

Note that registration is a whole-package option, and is not available for individual types.

Package Files

main.go

Directories

PathSynopsis
args
prerelease-lifecycle-generators

Package main imports 8 packages (graph). Updated 2020-06-22. Refresh now. Tools for package owners.