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 NewSecretMetaRepository(db *sql.DB) core.SecretMetaRepository
- func NewStageRepository(db *sql.DB) core.StageRepository
- func NewUserRepository(db *sql.DB) core.UserRepository
- func ResultHasRows(r sql.Result) bool
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 NewSecretMetaRepository ¶
func NewSecretMetaRepository(db *sql.DB) core.SecretMetaRepository
func NewStageRepository ¶
func NewStageRepository(db *sql.DB) core.StageRepository
func NewUserRepository ¶
func NewUserRepository(db *sql.DB) core.UserRepository
func ResultHasRows ¶ added in v0.0.8
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.