kibo artifact
本页列出 kibo artifact 及其子命令的用法、示例与参数,由 kibo 的源码生成;说明文字与 kibo --help 相同,为英文。
Plan, apply and review artifact store reclamation.
本页的每个命令还接受全局参数 --endpoint、--json 与 --timeout,见 kibo CLI 参考。
子命令:
kibo artifact reclaim: Reclaim store bytes nothing in the catalog can reachkibo artifact retain: Keep a Launch revision and both of its upstream revisions out of reclamation until a time
kibo artifact reclaim
Reclaim store bytes nothing in the catalog can reach.
子命令:
kibo artifact reclaim apply: Delete everything a planned run nameskibo artifact reclaim get: Show one reclamation run with its plan and resultkibo artifact reclaim list: List reclamation runs, oldest firstkibo artifact reclaim plan: Record a plan of the manifests and blobs the catalog no longer reaches
kibo artifact reclaim apply
Applies one planned run whole. Every entry is re-derived right before its deletion; an entry that is alive again is skipped and reported. Objects that must stay are excluded by retaining their Launch first and planning again, not by editing the plan. This is destructive: it asks for confirmation, and needs --yes when stdin or stdout is not a terminal.
kibo artifact reclaim apply <run-id> [flags]| 参数 | 默认值 | 说明 |
|---|---|---|
--command-id <key> | idempotency key for this change; see kibo help command-ids | |
-y, --yes | do not ask for confirmation |
kibo artifact reclaim get
Show one reclamation run with its plan and result.
kibo artifact reclaim get <run-id> [flags]kibo artifact reclaim list
List reclamation runs, oldest first.
kibo artifact reclaim list [flags]也可以写作 kibo artifact reclaim ls。
| 参数 | 默认值 | 说明 |
|---|---|---|
--page-size <number> | maximum number of results on a page | |
--page-token <token> | token from the Next line of the previous page |
kibo artifact reclaim plan
Derives, from the catalog alone, which Template, Platform and Launch manifests and which of their blobs nothing can reach any more, and records that as a planned run. Nothing is deleted. Review the plan, retain anything that must stay, then apply the run by its ID.
kibo artifact reclaim plan [flags]kibo artifact retain
Writes or extends the retention of one Launch revision. Retention only ever grows; an earlier time than the one on record is refused. A retained Launch keeps itself and the Template and Platform revisions it names out of every plan until the time passes.
kibo artifact retain <launch-revision> [flags]| 参数 | 默认值 | 说明 |
|---|---|---|
--until <time> | 必填 | RFC 3339 time until which the Launch revision is retained |