docker_base

package
v0.4.0-alpha1 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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