prerelease-lifecycle-gen

command
v0.20.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL