Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + var RepositoryConfigurationName = map[RepoConfig]string + func Migrate(ctx context.Context) error + func NewPostgresRepo(db *gorm.DB, errorTransformer errors.ErrorTransformer, scope promutils.Scope) interfaces.DataCatalogRepo + type DBHandle struct + func NewDBHandle(ctx context.Context, dbConfigValues database.DbConfig, ...) (*DBHandle, error) + func (h *DBHandle) CreateDB(dbName string) error + func (h *DBHandle) Migrate(ctx context.Context) error + type PostgresRepo struct + func (dc *PostgresRepo) ArtifactRepo() interfaces.ArtifactRepo + func (dc *PostgresRepo) DatasetRepo() interfaces.DatasetRepo + func (dc *PostgresRepo) ReservationRepo() interfaces.ReservationRepo + func (dc *PostgresRepo) TagRepo() interfaces.TagRepo + type RepoConfig int32 + const POSTGRES + type RepositoryInterface interface + ArtifactRepo func() interfaces.ArtifactRepo + DatasetRepo func() interfaces.DatasetRepo + ReservationRepo func() interfaces.ReservationRepo + TagRepo func() interfaces.TagRepo + func GetRepository(ctx context.Context, repoType RepoConfig, dbConfig database.DbConfig, ...) RepositoryInterface