Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSEBroker ¶
type SSEBroker struct {
// contains filtered or unexported fields
}
SSEBroker manages Server-Sent Events connections and broadcasts.
func (*SSEBroker) ClientCount ¶
ClientCount returns the number of connected clients.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the Web UI HTTP server.
func NewServer ¶
func NewServer(k8sClient client.Client, namespace string, bindAddress string, apiHandler http.Handler) *Server
NewServer creates a new Web UI server instance. apiHandler is optional - if provided, it will be mounted at /api/v1/.
func (*Server) GetSSEBroker ¶
GetSSEBroker returns the SSE broker for testing.
Click to show internal directories.
Click to hide internal directories.