postgres

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const MigrationsUrl = "file://migrations"

Variables

This section is empty.

Functions

func AddAuthToConnString

func AddAuthToConnString(postgresConn string, username string, password string) (string, error)

func Migrate

func Migrate(postgresConn string, logger *logrus.Logger) error

func NewApiKeyRepository

func NewApiKeyRepository(db *sql.DB) core.ApiKeyRepository

func NewAppRepository

func NewAppRepository(db *sql.DB) core.AppRepository

func NewDB

func NewDB(postgresConn string) (*sql.DB, error)

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.

Jump to

Keyboard shortcuts

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