Versions in this module Expand all Collapse all v0 v0.1.1 Sep 16, 2019 v0.1.0 Aug 29, 2019 Changes in this version + var RepositoryConfigurationName = map[RepoConfig]string + func NewPostgresRepo(db *gorm.DB, errorTransformer errors.ErrorTransformer, scope promutils.Scope) interfaces.DataCatalogRepo + type DBHandle struct + func NewDBHandle(dbConfigValues config.DbConfig, catalogScope promutils.Scope) (*DBHandle, error) + func (h *DBHandle) Close() error + func (h *DBHandle) CreateDB(dbName string) error + func (h *DBHandle) Migrate() + type PostgresRepo struct + func (dc *PostgresRepo) ArtifactRepo() interfaces.ArtifactRepo + func (dc *PostgresRepo) DatasetRepo() interfaces.DatasetRepo + func (dc *PostgresRepo) TagRepo() interfaces.TagRepo + type RepoConfig int32 + const POSTGRES + type RepositoryInterface interface + ArtifactRepo func() interfaces.ArtifactRepo + DatasetRepo func() interfaces.DatasetRepo + TagRepo func() interfaces.TagRepo + func GetRepository(repoType RepoConfig, dbConfig config.DbConfig, scope promutils.Scope) RepositoryInterface