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

func NewDeploymentReservationRepository(db *sql.DB) core.DeploymentReservationRepository

func NewEnvironmentRepository

func NewEnvironmentRepository(db *sql.DB) core.EnvironmentRepository

func NewNamespaceRepository

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.