repository

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryAlertRepository

type MemoryAlertRepository struct {
	// contains filtered or unexported fields
}

func NewMemoryAlertRepository

func NewMemoryAlertRepository() *MemoryAlertRepository

func (*MemoryAlertRepository) Create

func (r *MemoryAlertRepository) Create(_ context.Context, alert *domain.Alert) error

func (*MemoryAlertRepository) List

type MemoryAlertRuleRepository

type MemoryAlertRuleRepository struct {
	// contains filtered or unexported fields
}

func NewMemoryAlertRuleRepository

func NewMemoryAlertRuleRepository() *MemoryAlertRuleRepository

func (*MemoryAlertRuleRepository) Create

func (*MemoryAlertRuleRepository) Delete

func (*MemoryAlertRuleRepository) GetByID

func (*MemoryAlertRuleRepository) List

func (*MemoryAlertRuleRepository) Update

type MemoryDashboardRepository

type MemoryDashboardRepository struct {
	// contains filtered or unexported fields
}

MemoryDashboardRepository provides simulated dashboard data.

func NewMemoryDashboardRepository

func NewMemoryDashboardRepository() *MemoryDashboardRepository

NewMemoryDashboardRepository constructs a MemoryDashboardRepository.

func (*MemoryDashboardRepository) GetDashboard

GetDashboard returns simulated platform metrics and tool health data.

type PostgresAlertRepository

type PostgresAlertRepository struct {
	// contains filtered or unexported fields
}

func NewPostgresAlertRepository

func NewPostgresAlertRepository(pool *pgxpool.Pool) *PostgresAlertRepository

func (*PostgresAlertRepository) Create

func (r *PostgresAlertRepository) Create(ctx context.Context, alert *domain.Alert) error

func (*PostgresAlertRepository) List

type PostgresAlertRuleRepository

type PostgresAlertRuleRepository struct {
	// contains filtered or unexported fields
}

func NewPostgresAlertRuleRepository

func NewPostgresAlertRuleRepository(pool *pgxpool.Pool) *PostgresAlertRuleRepository

func (*PostgresAlertRuleRepository) Create

func (*PostgresAlertRuleRepository) Delete

func (*PostgresAlertRuleRepository) GetByID

func (*PostgresAlertRuleRepository) List

func (*PostgresAlertRuleRepository) Update

Jump to

Keyboard shortcuts

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