Documentation ¶
Index ¶
- Constants
- func AddAuthToConnString(postgresConn string, username string, password string) (string, error)
- func Migrate(postgresConn string, logger *logrus.Logger) error
- func NewApiKeyRepository(db *sql.DB) core.ApiKeyRepository
- func NewAppRepository(db *sql.DB) core.AppRepository
- func NewDB(postgresConn string) (*sql.DB, error)
- func NewDeploymentRepository(db *sql.DB) core.DeploymentRepository
- func NewDeploymentReservationRepository(db *sql.DB) core.DeploymentReservationRepository
- func NewEnvironmentRepository(db *sql.DB) core.EnvironmentRepository
- func NewNamespaceRepository(db *sql.DB) core.NamespaceRepository
- func NewSecretMetaRepository(db *sql.DB) core.SecretMetaRepository
- func NewUserRepository(db *sql.DB) core.UserRepository
Constants ¶
View Source
const MigrationsUrl = "file://migrations"
Variables ¶
This section is empty.
Functions ¶
func AddAuthToConnString ¶
func NewApiKeyRepository ¶
func NewApiKeyRepository(db *sql.DB) core.ApiKeyRepository
func NewAppRepository ¶
func NewAppRepository(db *sql.DB) core.AppRepository
func NewDeploymentRepository ¶
func NewDeploymentRepository(db *sql.DB) core.DeploymentRepository
func NewDeploymentReservationRepository ¶ added in v0.0.10
func NewDeploymentReservationRepository(db *sql.DB) core.DeploymentReservationRepository
func NewEnvironmentRepository ¶ added in v0.0.17
func NewEnvironmentRepository(db *sql.DB) core.EnvironmentRepository
func NewNamespaceRepository ¶ added in v0.0.10
func NewNamespaceRepository(db *sql.DB) core.NamespaceRepository
func NewSecretMetaRepository ¶
func NewSecretMetaRepository(db *sql.DB) core.SecretMetaRepository
func NewUserRepository ¶
func NewUserRepository(db *sql.DB) core.UserRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.