Versions in this module Expand all Collapse all v0 v0.6.0 Oct 30, 2026 Changes in this version + type PostgresBackupRepository struct + func NewPostgresBackupRepository(pool *pgxpool.Pool) *PostgresBackupRepository + func (r *PostgresBackupRepository) AddArtifact(ctx context.Context, a *domain.Artifact) error + func (r *PostgresBackupRepository) CreateRestore(ctx context.Context, run *domain.RestoreRun) error + func (r *PostgresBackupRepository) CreateRun(ctx context.Context, run *domain.BackupRun) error + func (r *PostgresBackupRepository) DeleteArtifacts(ctx context.Context, backupRunID string) error + func (r *PostgresBackupRepository) GetRestore(ctx context.Context, id string) (*domain.RestoreRun, error) + func (r *PostgresBackupRepository) GetRun(ctx context.Context, id string) (*domain.BackupRun, error) + func (r *PostgresBackupRepository) LatestRestorableBackup(ctx context.Context, stackID string) (time.Time, bool, error) + func (r *PostgresBackupRepository) ListArtifacts(ctx context.Context, backupRunID string) ([]*domain.Artifact, error) + func (r *PostgresBackupRepository) ListRuns(ctx context.Context, orgID string, limit int) ([]*domain.BackupRun, error) + func (r *PostgresBackupRepository) ListRunsBySet(ctx context.Context, setID string) ([]*domain.BackupRun, error) + func (r *PostgresBackupRepository) ListSummaries(ctx context.Context, orgID string) ([]domain.RunSummary, error) + func (r *PostgresBackupRepository) UpdateRestore(ctx context.Context, run *domain.RestoreRun) error + func (r *PostgresBackupRepository) UpdateRun(ctx context.Context, run *domain.BackupRun) error