core/repo-integrations-core/internal/db/querier.go
Tiago Yamamoto a52bd4519d refactor: optimize Dockerfiles and documentation for core services
- Use Google Distroless images for all services (Go & Node.js).
- Standardize documentation with [PROJECT-NAME].md.
- Add .dockerignore and .gitignore to all projects.
- Remove docker-compose.yml in favor of docker run instructions.
- Fix Go version and dependency issues in observability, repo-integrations, and security-governance.
- Add Podman support (fully qualified image names).
- Update Dashboard to use Node.js static server for Distroless compatibility.
2025-12-30 13:22:34 -03:00

29 lines
1.3 KiB
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.30.0
package db
import (
"context"
"github.com/jackc/pgx/v5/pgtype"
)
type Querier interface {
CreateRepoAccount(ctx context.Context, arg CreateRepoAccountParams) (RepoAccount, error)
CreateRepoEvent(ctx context.Context, arg CreateRepoEventParams) (RepoEvent, error)
CreateRepository(ctx context.Context, arg CreateRepositoryParams) (Repository, error)
CreateWebhook(ctx context.Context, arg CreateWebhookParams) (Webhook, error)
GetRepoAccount(ctx context.Context, arg GetRepoAccountParams) (RepoAccount, error)
GetRepoAccountByID(ctx context.Context, arg GetRepoAccountByIDParams) (RepoAccount, error)
GetRepository(ctx context.Context, arg GetRepositoryParams) (Repository, error)
GetRepositoryByExternalID(ctx context.Context, arg GetRepositoryByExternalIDParams) (Repository, error)
GetWebhookByRepoExternalID(ctx context.Context, arg GetWebhookByRepoExternalIDParams) (Webhook, error)
GetWebhookByRepoID(ctx context.Context, arg GetWebhookByRepoIDParams) (Webhook, error)
ListRepoAccountsByTenant(ctx context.Context, tenantID pgtype.UUID) ([]RepoAccount, error)
ListRepositoriesByTenant(ctx context.Context, tenantID pgtype.UUID) ([]Repository, error)
UpdateRepoAccountTokens(ctx context.Context, arg UpdateRepoAccountTokensParams) (RepoAccount, error)
}
var _ Querier = (*Queries)(nil)