瀏覽 1.1.1 文件
1.1.1

ait policy — 完整參考

對選定的 Patchset 評估、檢視並顯式豁免受支援的策略檢查。

適用對象: 維護者與策略維運

作用邊界#

用途: 對選定的 Patchset 評估、檢視並顯式豁免受支援的策略檢查。

影響類別: 評估與檢視,外加一次帶明確理由的策略豁免寫操作。

覆蓋: ait policy 下共 4 個公開 help surface。

下面的程式碼區塊原樣保留 1.1.1 二進位的輸出,包含它給出的每一個引數、選項、 預設值、可選值、衝突關係和必填要求。

完整命令樹#

程式碼 · text
ait policy
ait policy eval
ait policy show
ait policy waive

原樣輸出的 help#

ait policy#

二進位描述: Check, inspect, or waive remote Patchset requirements.

程式碼 · text
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.

程式碼 · text
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.

程式碼 · text
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.

程式碼 · text
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列印幫助

版本權威

對照 1.1.1 原始碼逐條核對

這一頁是公開文件,不是第二份產品契約。要確認發布權威,請以確切的原始碼和分發契約為準。

所屬元件 Snapshot
  • ait-coreSNP-ED7593DBF982
  • ait-serverSNP-0CCD7DD2A077
  • ait-runnerSNP-35C9C133D2EE
  • ait-pythonSNP-756C731A4CC0
  • ait-nodeSNP-55E90D0A81F1