Skip to main content

lib/k8s/api/v2/multiplexer

Index

Interfaces

InterfaceDescription
WebSocketMessageMessage format for WebSocket communication between client and server. Used to manage subscriptions to Kubernetes resource updates.

Variables

VariableDescription
MULTIPLEXER_ENDPOINTMultiplexer endpoint for WebSocket connections This endpoint allows multiple subscriptions over a single connection
WebSocketManagerWebSocket manager to handle connections across the application. Provides a singleton-like interface for managing WebSocket connections, subscriptions, and message handling. Implements connection multiplexing to optimize network usage.

Functions

FunctionDescription
useWebSocketReact hook for WebSocket subscription to Kubernetes resources