Documentation ¶
Index ¶
- func CreateMongoDB(db types.Database) error
- func CreateMysqlDB(db types.Database) error
- func CreatePostgresqlDB(db types.Database) error
- func CreateRedisDB(db types.Database) error
- func DeleteMongoDB(databaseName string) error
- func DeleteMysqlDB(databaseName string) error
- func DeletePostgresqlDB(databaseName string) error
- func DeleteRedisDB(databaseName string) error
- func SetupDBInstance(databaseType string) (string, types.ResponseError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMongoDB ¶
CreateMongoDB creates a database in the mongodb instance with the given database name, user and password
func CreateMysqlDB ¶
CreateMysqlDB creates a database in the Mysql instance with the given database name, user and password
func CreatePostgresqlDB ¶
CreatePostgresqlDB creates a postgre database
func CreateRedisDB ¶
CreateRedisDB creates a RedisDB container
func DeleteMongoDB ¶
DeleteMongoDB deletes a mongo database
func DeleteMysqlDB ¶
DeleteMysqlDB deletes the database given by the database name and username
func DeletePostgresqlDB ¶
DeletePostgresqlDB deletes the database given by the database name and username
func DeleteRedisDB ¶
DeleteRedisDB deletes RedisDB container
func SetupDBInstance ¶
func SetupDBInstance(databaseType string) (string, types.ResponseError)
SetupDBInstance sets up containers for database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.