lib/k8s/api/v2/webSocket
Index
Type Aliases
| Type alias | Description |
|---|---|
| WebSocketConnectionRequest | Configuration for establishing a WebSocket connection to watch Kubernetes resources. Used by the multiplexer to manage multiple WebSocket connections efficiently. |
Variables
| Variable | Description |
|---|---|
| BASE_WS_URL | - |
Functions
| Function | Description |
|---|---|
| getBaseWsUrl | Get the WebSocket base URL dynamically to support runtime port configuration |
| openWebSocket | Create new WebSocket connection to the backend |
| useWebSockets | Creates or joins mutiple existing WebSocket connections |