Documentation
¶
Index ¶
- func ConfigureDBSession(session db.Session, dbPool *config.ConnectionPool) db.Session
- func CreateDBSession(ctx context.Context, kubectlConfig kubernetes.Interface, namespace string, ...) (db.Session, error)
- func CreateDBSessionWithCreds(dbConfig config.DBConfig, username, password string) (db.Session, error)
- func Migrate(ctx context.Context, session db.Session, versionTableName string, ...) error
- type AnsiSQLChange
- type Change
- type DBType
- type TypedChanges
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureDBSession ¶
ConfigureDBSession configures the DB session
func CreateDBSession ¶
func CreateDBSession(ctx context.Context, kubectlConfig kubernetes.Interface, namespace string, dbConfig config.DBConfig) (db.Session, error)
CreateDBSession creates the dB session
Types ¶
type AnsiSQLChange ¶
type AnsiSQLChange string
represent a straight forward change that is compatible with all database providers
type TypedChanges ¶
Click to show internal directories.
Click to hide internal directories.