database

package
v0.0.0-...-870cc59 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMongoDB

func CreateMongoDB(db types.Database) error

CreateMongoDB creates a database in the mongodb instance with the given database name, user and password

func CreateMysqlDB

func CreateMysqlDB(db types.Database) error

CreateMysqlDB creates a database in the Mysql instance with the given database name, user and password

func CreatePostgresqlDB

func CreatePostgresqlDB(db types.Database) error

CreatePostgresqlDB creates a postgre database

func CreateRedisDB

func CreateRedisDB(db types.Database) error

CreateRedisDB creates a RedisDB container

func DeleteMongoDB

func DeleteMongoDB(databaseName string) error

DeleteMongoDB deletes a mongo database

func DeleteMysqlDB

func DeleteMysqlDB(databaseName string) error

DeleteMysqlDB deletes the database given by the database name and username

func DeletePostgresqlDB

func DeletePostgresqlDB(databaseName string) error

DeletePostgresqlDB deletes the database given by the database name and username

func DeleteRedisDB

func DeleteRedisDB(databaseName string) error

DeleteRedisDB deletes RedisDB container

func SetupDBInstance

func SetupDBInstance(databaseType string) (string, types.ResponseError)

SetupDBInstance sets up containers for database

Types

This section is empty.

Jump to

Keyboard shortcuts

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