docker_base

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MysqlCreate

func MysqlCreate(mysqlConfig MysqlConfig, dbId string, cpuShares int64, memory int64) (string, error)

创建一个mysql数据库

func MysqlDelete

func MysqlDelete(dbId string) error

func MysqlFilter

func MysqlFilter(c MysqlConfig, envs model.EnvArray) model.EnvArray

过滤mysql关键字

Types

type MysqlConfig

type MysqlConfig struct {
	DataBaseHost     string `json:"database_host"`
	DataBasePort     string `json:"database_port"`
	DataBaseUser     string `json:"database_user"`
	DataBasePassword string `json:"data_base_password"`
	DataBaseDB       string `json:"data_base_db"`
}

Jump to

Keyboard shortcuts

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