hack: optional Go API documentation

Let's introduce this new functionality incrementally: at first the check will
run, but won't fail "make verify". Once we have gained more confidence and
experience with it, this commit can be reverted to make documentation
mandatory again.

Kubernetes-commit: 8af3e85e9ebab272af2db66449ee74d287c0e95a
This commit is contained in:
Patrick Ohly
2026-06-02 15:50:32 +02:00
committed by Kubernetes Publisher
parent 9b8f997356
commit 04f8952eec

View File

@@ -1,11 +1,8 @@
This file documents Go API changes in client-go.
Breaking API changes *must* be documented here, together with instructions on
how to deal with them or why they are expected to have no impact.
Go API changes are typically not included in the Kubernetes release notes, so
non-breaking noteworthy Go API changes *may* be documented here if they are
useful to know about for developers.
noteworthy Go API changes *may* be documented here. This is currently not
*required*, so consult the git history to see all changes.
### restmapper + discovery: add context-aware APIs