Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlagSet ¶
func PrintUsage ¶
func PrintUsage()
Types ¶
type Config ¶
type Config struct {
Log LogConfig
Mysql MysqlConfig
Jenkins JenkinsConfig
Sonar SonarConfig
}
type JenkinsConfig ¶
type LogConfig ¶
type LogConfig struct {
Level string `default:"info"` // debug, info, warn, error, fatal
}
type MysqlConfig ¶
type MysqlConfig struct {
Host string `default:"kubesphere-db"`
Port string `default:"3306"`
User string `default:"root"`
Password string `default:"password"`
Database string `default:"kubesphere"`
}
func (*MysqlConfig) GetUrl ¶
func (m *MysqlConfig) GetUrl() string
type SonarConfig ¶
Click to show internal directories.
Click to hide internal directories.