prerelease-lifecycle-gen

command
v0.26.12 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 5 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=true

// +k8s:prerelease-lifecycle-gen:introduced=1.19 // +k8s:prerelease-lifecycle-gen:deprecated=1.22 // +k8s:prerelease-lifecycle-gen:removed=1.25 // +k8s:prerelease-lifecycle-gen:replacement=wardle.example.com,v1,Flunder

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