Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
Dashboard is an actor that serves a web-based dashboard for monitoring various providers and states.
func NewDashboard ¶
func NewDashboard(name string, opts ...DashboardOption) *Dashboard
NewDashboard creates a new Dashboard instance with the given name and options.
type DashboardOption ¶
type DashboardOption func(*Dashboard)
DashboardOption represents a functional option for configuring the Dashboard. It allows adding providers to observe, which will be reflected in the real-time UI.
func WithObserve ¶
func WithObserve[V any](signal sup.ReadableSignal[V]) DashboardOption
WithObserve adds a read-only row to the dashboard for the given signal. The dashboard will subscribe to the signal for updates and reflect changes in the UI, but will not allow user input to update the signal.
Click to show internal directories.
Click to hide internal directories.