feat jenkins cicd
This commit is contained in:
@@ -12,7 +12,7 @@ type LogConfig struct {
|
||||
Level string `yaml:"level"`
|
||||
}
|
||||
|
||||
type MonitorConfig struct {
|
||||
type MetricConfig struct {
|
||||
Prometheus *struct {
|
||||
Address string `yaml:"address"`
|
||||
Port int32 `yaml:"port"`
|
||||
@@ -22,6 +22,7 @@ type MonitorConfig struct {
|
||||
type DBConfig struct {
|
||||
Etcd *EtcdConfig `yaml:"etcd"`
|
||||
MySQL map[string]*MySQLConfig `yaml:"mysql"`
|
||||
Mongo map[string]*MongoConfig `yaml:"mongo"`
|
||||
Redis *RedisConfig `yaml:"redis"`
|
||||
}
|
||||
|
||||
@@ -38,6 +39,10 @@ type MySQLConfig struct {
|
||||
LogLevel string `yaml:"logLevel"`
|
||||
}
|
||||
|
||||
type MongoConfig struct {
|
||||
URI string `yaml:"uri"`
|
||||
}
|
||||
|
||||
type RedisConfig struct {
|
||||
Addr string `yaml:"addr"`
|
||||
Password string `yaml:"password"`
|
||||
|
||||
Reference in New Issue
Block a user