1.1.1
ait policy — 完整參考
對選定的 Patchset 評估、檢視並顯式豁免受支援的策略檢查。
適用對象: 維護者與策略維運
作用邊界#
用途: 對選定的 Patchset 評估、檢視並顯式豁免受支援的策略檢查。
影響類別: 評估與檢視,外加一次帶明確理由的策略豁免寫操作。
覆蓋: ait policy 下共 4 個公開 help surface。
下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。
完整命令樹#
ait policy
ait policy eval
ait policy show
ait policy waive原樣輸出的 help#
ait policy#
二進位描述: Check, inspect, or waive remote Patchset requirements.
Check, inspect, or waive remote Patchset requirements.
Usage: ait policy <COMMAND>
Commands:
eval Check the configured Policy for a selected remote Patchset.
show Show the recorded Policy result for a remote Patchset.
waive Request a reasoned Policy waiver for a remote Patchset.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help說明
檢查、檢視或豁免遠端 Patchset 要求。
| 引數 / 選項 | 說明 |
|---|---|
eval | 檢查所選遠端 Patchset 的已設定 Policy。 |
show | 顯示一個遠端 Patchset 已記錄的 Policy 結果。 |
waive | 為遠端 Patchset 請求帶理由的 Policy 豁免。 |
help | 列印本訊息或給定子命令的幫助 |
-h, --help | 列印幫助 |
ait policy eval#
二進位描述: Check the configured Policy for a selected remote Patchset.
Check the configured Policy for a selected remote Patchset.
Usage: ait policy eval [OPTIONS] <PATCHSET_ID>
Arguments:
<PATCHSET_ID>
Options:
--remote <REMOTE>
--json
-h, --help Print help說明
檢查所選遠端 Patchset 的已設定 Policy。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait policy show#
二進位描述: Show the recorded Policy result for a remote Patchset.
Show the recorded Policy result for a remote Patchset.
Usage: ait policy show [OPTIONS] <PATCHSET_ID>
Arguments:
<PATCHSET_ID>
Options:
--remote <REMOTE>
--json
-h, --help Print help說明
顯示一個遠端 Patchset 已記錄的 Policy 結果。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |
ait policy waive#
二進位描述: Request a reasoned Policy waiver for a remote Patchset.
Request a reasoned Policy waiver for a remote Patchset.
Usage: ait policy waive [OPTIONS] --rule <RULE_NAME> --reason <REASON> <PATCHSET_ID>
Arguments:
<PATCHSET_ID>
Options:
--rule <RULE_NAME>
--reason <REASON>
--expires-at <EXPIRES_AT>
--remote <REMOTE>
--json
-h, --help Print help說明
為遠端 Patchset 請求帶理由的 Policy 豁免。
| 引數 / 選項 | 說明 |
|---|---|
-h, --help | 列印幫助 |