雲端供應商
Connect your Railway workspace to give agents visibility into your projects, environments, services, and deployments. Agents can track deploy status, watch service resource usage, and correlate Railway activity with the rest of your infrastructure.

連接

從終端機連接Railway。傳入--help可查看Railway接受的旗標,在無瀏覽器環境中再加上--no-browser。

Terminal
polylane cloud connect --provider railway

中斷連接

中斷連接會停止所有同步與檢查,並刪除Polylane持有的憑證。 Polylane會移除Railway的API允許它移除的東西。以下項目會留下,直到你自行移除:

  • OAuth grant
Terminal
polylane cloud disconnect <id>

工具

4

代理可以在對話串中執行的操作。

railwayApi
Run a curated Railway GraphQL operation (reads, restarts, redeploys, scaling)
railwayGetLogs
Get runtime logs for a Railway service or deployment
railwayListDeployments
List recent Railway deployments for a project
railwayQueryMetrics
Query CPU, memory, network, and disk metrics for Railway services

支援的資源

8

會出現在你基礎設施圖中的資源類型。

Project
Environment
Service
Deployment
Volume
Domain
TCP Proxy
Notification Rule