Documentation ¶
Index ¶
- func NewAPITokenRepository(client *db.PrismaClient, v validator.Validator) repository.APITokenRepository
- func NewDispatcherRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.DispatcherRepository
- func NewEventRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.EventRepository
- func NewGetGroupKeyRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.GetGroupKeyRunRepository
- func NewGithubRepository(client *db.PrismaClient, v validator.Validator) repository.GithubRepository
- func NewHealthRepository(client *db.PrismaClient, pool *pgxpool.Pool) repository.HealthRepository
- func NewJobRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.JobRunRepository
- func NewLogRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.LogsRepository
- func NewPrismaRepository(client *db.PrismaClient, pool *pgxpool.Pool, fs ...PrismaRepositoryOpt) repository.Repository
- func NewSNSRepository(client *db.PrismaClient, v validator.Validator) repository.SNSRepository
- func NewStepRepository(client *db.PrismaClient, v validator.Validator) repository.StepRepository
- func NewStepRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.StepRunRepository
- func NewTenantInviteRepository(client *db.PrismaClient, v validator.Validator) repository.TenantInviteRepository
- func NewTenantRepository(client *db.PrismaClient, v validator.Validator) repository.TenantRepository
- func NewTickerRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.TickerRepository
- func NewUserRepository(client *db.PrismaClient, v validator.Validator) repository.UserRepository
- func NewUserSessionRepository(client *db.PrismaClient, v validator.Validator) repository.UserSessionRepository
- func NewWorkerRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.WorkerRepository
- func NewWorkflowRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.WorkflowRepository
- func NewWorkflowRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, ...) repository.WorkflowRunRepository
- type PrismaRepositoryOpt
- type PrismaRepositoryOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPITokenRepository ¶ added in v0.7.0
func NewAPITokenRepository(client *db.PrismaClient, v validator.Validator) repository.APITokenRepository
func NewDispatcherRepository ¶
func NewDispatcherRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.DispatcherRepository
func NewEventRepository ¶
func NewEventRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.EventRepository
func NewGetGroupKeyRunRepository ¶ added in v0.8.0
func NewGetGroupKeyRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.GetGroupKeyRunRepository
func NewGithubRepository ¶ added in v0.11.0
func NewGithubRepository(client *db.PrismaClient, v validator.Validator) repository.GithubRepository
func NewHealthRepository ¶ added in v0.13.0
func NewHealthRepository(client *db.PrismaClient, pool *pgxpool.Pool) repository.HealthRepository
func NewJobRunRepository ¶
func NewJobRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.JobRunRepository
func NewLogRepository ¶ added in v0.14.0
func NewLogRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.LogsRepository
func NewPrismaRepository ¶
func NewPrismaRepository(client *db.PrismaClient, pool *pgxpool.Pool, fs ...PrismaRepositoryOpt) repository.Repository
func NewSNSRepository ¶ added in v0.15.0
func NewSNSRepository(client *db.PrismaClient, v validator.Validator) repository.SNSRepository
func NewStepRepository ¶
func NewStepRepository(client *db.PrismaClient, v validator.Validator) repository.StepRepository
func NewStepRunRepository ¶
func NewStepRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.StepRunRepository
func NewTenantInviteRepository ¶
func NewTenantInviteRepository(client *db.PrismaClient, v validator.Validator) repository.TenantInviteRepository
func NewTenantRepository ¶
func NewTenantRepository(client *db.PrismaClient, v validator.Validator) repository.TenantRepository
func NewTickerRepository ¶
func NewTickerRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.TickerRepository
func NewUserRepository ¶
func NewUserRepository(client *db.PrismaClient, v validator.Validator) repository.UserRepository
func NewUserSessionRepository ¶
func NewUserSessionRepository(client *db.PrismaClient, v validator.Validator) repository.UserSessionRepository
func NewWorkerRepository ¶
func NewWorkerRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.WorkerRepository
func NewWorkflowRepository ¶
func NewWorkflowRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.WorkflowRepository
func NewWorkflowRunRepository ¶
func NewWorkflowRunRepository(client *db.PrismaClient, pool *pgxpool.Pool, v validator.Validator, l *zerolog.Logger) repository.WorkflowRunRepository
Types ¶
type PrismaRepositoryOpt ¶
type PrismaRepositoryOpt func(*PrismaRepositoryOpts)
func WithLogger ¶
func WithLogger(l *zerolog.Logger) PrismaRepositoryOpt
func WithValidator ¶
func WithValidator(v validator.Validator) PrismaRepositoryOpt
type PrismaRepositoryOpts ¶
type PrismaRepositoryOpts struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.