port

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

type DashboardRepository interface {
	GetDashboard(ctx context.Context) (*domain.Dashboard, error)
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL