postgres

package
v0.71.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPITokenRepository

func NewAPITokenRepository(shared *sharedRepository, cache cache.Cacheable) repository.APITokenRepository

func NewBulkSemaphoreReleaser

func NewBulkSemaphoreReleaser(shared *sharedRepository, conf buffer.ConfigFileBuffer) (*buffer.TenantBufferManager[semaphoreReleaseOpts, pgtype.UUID], error)

func NewEventAPIRepository

func NewEventAPIRepository(shared *sharedRepository) repository.EventAPIRepository

func NewEventEngineRepository

func NewEventEngineRepository(shared *sharedRepository, m *metered.Metered, bufferConf buffer.ConfigFileBuffer) repository.EventEngineRepository

func NewHealthAPIRepository

func NewHealthAPIRepository(shared *sharedRepository) repository.HealthRepository

func NewHealthEngineRepository

func NewHealthEngineRepository(pool *pgxpool.Pool) repository.HealthRepository

func NewJobRunAPIRepository

func NewJobRunAPIRepository(shared *sharedRepository) repository.JobRunAPIRepository

func NewJobRunEngineRepository

func NewJobRunEngineRepository(shared *sharedRepository) repository.JobRunEngineRepository

func NewMessageQueueRepository

func NewMessageQueueRepository(shared *sharedRepository) (*messageQueueRepository, func() error)

func NewSNSRepository

func NewSNSRepository(shared *sharedRepository) repository.SNSRepository

func NewSecurityCheckRepository

func NewSecurityCheckRepository(shared *sharedRepository) repository.SecurityCheckRepository

func NewSlackRepository

func NewSlackRepository(shared *sharedRepository) repository.SlackRepository

func NewStepRunAPIRepository

func NewStepRunAPIRepository(shared *sharedRepository) repository.StepRunAPIRepository

func NewStepRunEngineRepository

func NewStepRunEngineRepository(shared *sharedRepository, cf *server.ConfigFileRuntime, rlCache *cache.Cache, queueCache *cache.Cache) *stepRunEngineRepository

func NewTenantAPIRepository

func NewTenantAPIRepository(shared *sharedRepository, cache cache.Cacheable, defaultTenantVersion dbsqlc.TenantMajorEngineVersion) repository.TenantAPIRepository

func NewTenantAlertingRepository

func NewTenantAlertingRepository(shared *sharedRepository, cache cache.Cacheable) repository.TenantAlertingRepository

func NewTenantInviteRepository

func NewTenantInviteRepository(shared *sharedRepository) repository.TenantInviteRepository

func NewUserRepository

func NewUserRepository(shared *sharedRepository) repository.UserRepository

func NewUserSessionRepository

func NewUserSessionRepository(shared *sharedRepository) repository.UserSessionRepository

func NewWebhookWorkerRepository

func NewWebhookWorkerRepository(shared *sharedRepository) repository.WebhookWorkerRepository

func NewWorkerAPIRepository

func NewWorkerAPIRepository(shared *sharedRepository, m *metered.Metered) repository.WorkerAPIRepository

func NewWorkflowEngineRepository

func NewWorkflowEngineRepository(shared *sharedRepository, m *metered.Metered, cache cache.Cacheable) repository.WorkflowEngineRepository

func NewWorkflowRepository

func NewWorkflowRepository(shared *sharedRepository) repository.WorkflowAPIRepository

func NewWorkflowRunRepository

func NewWorkflowRunRepository(shared *sharedRepository, m *metered.Metered, cf *server.ConfigFileRuntime) repository.WorkflowRunAPIRepository

func UniqueSet

func UniqueSet[T any](i []T, keyFunc func(T) string) map[string]struct{}

Types

type PostgresRepositoryOpt

type PostgresRepositoryOpt func(*PostgresRepositoryOpts)

func WithCache

func WithCache(cache cache.Cacheable) PostgresRepositoryOpt

func WithLogger

func WithLogger(l *zerolog.Logger) PostgresRepositoryOpt

func WithLogsAPIRepository

func WithLogsAPIRepository(newLogsAPI repository.LogsAPIRepository) PostgresRepositoryOpt

func WithLogsEngineRepository

func WithLogsEngineRepository(newLogsEngine repository.LogsEngineRepository) PostgresRepositoryOpt

func WithMetered

func WithMetered(metered *metered.Metered) PostgresRepositoryOpt

type PostgresRepositoryOpts

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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