doc: mention CGRefundBuild in CG docs

Related: https://pagure.io/koji/issue/3410
This commit is contained in:
Tester 2022-06-22 13:15:27 +02:00
parent 52c608ac34
commit f8b2de97b6

View file

@ -144,6 +144,10 @@ Relevant API calls for Content Generator are:
call of ``CGImport`` while ``build_id`` needs to be part of metadata (as item
in ``build`` key).
- ``CGRefundBuild(cg, build_id, token, state=koji.BUILD_STATES['FAILED'])`` -
content generator can drop the reservation created by ``CGInitBuild`` in case
that build failed or was cancelled. Caller must know ``build_id`` and ``token``.
Current Public Implementations
==============================