cf - 要與 Cloud Foundry 互動的指令行工具
cf [global options] command [arguments...] [command options]
7.3.0+645c3ce6a.2021-08-16
Create an Application in the target space
變更或檢視應用程式的實例計數、磁碟空間限制和記憶體限制
Cancel the most recent deployment for an app. Resets the current droplet to the previous deployment's droplet.
Stop all instances of the app, then start them again.
Stage a package into a droplet
Stage the app's latest package into a droplet and restart the app with this new droplet and updated configuration (environment variables, service bindings, buildpack, stack, etc.).
Download an application droplet
列出所有堆疊(堆疊是可執行應用程式的預先建置檔案系統(包括作業系統))
顯示堆疊資訊(堆疊是可執行應用程式的預先建置檔案系統(包括作業系統))
Copies the source code of an application to another existing application and restages that application
Apply manifest properties to a space
Create a private domain for a specific org
Create a route for later use
Perform a check to determine whether a route currently exists or not
Remove a route from an app
Delete all orphaned routes in the currently targeted space (i.e. those that are not mapped to an app or service instance)
List available organization quotas
Assign a quota to an organization
Define a new quota for an organization
Delete an organization quota
Update an existing organization quota
Share a private domain with a specific org
Unshare a private domain with a specific org
List available space quotas
Define a new quota for a space
Assign a quota to a space
Recursively remove a service offering and child objects from Cloud Foundry database without making requests to a service broker
遞迴地從 Cloud Foundry 資料庫移除服務實例和子物件,而不對服務分配管理系統提出要求
Enable access to a service offering or service plan for one or all orgs
Disable access to a service offering or service plan for one or all orgs
Bind a security group to the list of security groups to be used for staging applications globally
List security groups globally configured for staging applications
Unbind a security group from the set of security groups for staging applications globally
List security groups globally configured for running applications
Unbind a security group from the set of security groups for running applications globally
傳遞參數作為 JSON,以建立編譯打包環境變數群組
針對組織空間中的應用程式,設定所使用的預設隔離區段
針對組織空間中的應用程式,重設所使用的預設隔離區段
List all labels (key-value pairs) for an API resource
Set a label (key-value pairs) for an API resource
Unset a label (key-value pairs) for an API resource
Display the OAuth token for the current session and refresh the token if necessary
列出所指定儲存庫或所有已新增儲存庫中的所有可用外掛程式
CF_DIAL_TIMEOUT=6
等待建立連線(包括名稱解析)的時間上限(以秒為單位)
CF_HOME=path/to/dir/
置換預設配置目錄的路徑
CF_PLUGIN_HOME=path/to/dir/
置換預設外掛程式配置目錄的路徑
CF_TRACE=true
將 API 要求診斷列印至 stdout
CF_TRACE=path/to/trace.log
將 API 要求診斷附加至日誌檔
all_proxy=proxy.example.com:8080
指定 Proxy 伺服器以啟用所有要求的 Proxy 處理
https_proxy=proxy.example.com:8080
啟用 HTTP 要求的 Proxy 處理
Show details for a specific app revision
Rollback to the specified revision of an app