Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertRepository ¶
type AlertRepository interface {
Create(ctx context.Context, alert *domain.Alert) error
List(ctx context.Context) ([]*domain.Alert, error)
}
AlertRepository defines the interface for alert history persistence.
type AlertRuleRepository ¶
type AlertRuleRepository interface {
Create(ctx context.Context, rule *domain.AlertRule) error
GetByID(ctx context.Context, id string) (*domain.AlertRule, error)
List(ctx context.Context) ([]*domain.AlertRule, error)
Update(ctx context.Context, rule *domain.AlertRule) error
Delete(ctx context.Context, id string) error
}
AlertRuleRepository defines the interface for alert rule persistence.
type DashboardRepository ¶
DashboardRepository defines the interface for dashboard data retrieval.
type ToolHealthRepository ¶
type ToolHealthRepository interface {
ListToolHealth(ctx context.Context, orgID string) ([]domain.ToolHealth, error)
}
ToolHealthRepository reports the live health of the OSS tools that the organization's stacks have installed.
Click to show internal directories.
Click to hide internal directories.