Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶ added in v0.1.1
func InitConfig()
Types ¶
type Config ¶ added in v0.1.7
type Config struct {
Common struct {
LogEnable bool `yaml:"log_enable"`
ListPolicies bool `yaml:"list_policies"`
LogDir string `yaml:"log_dir"`
TimeoutMinutes int `yaml:"timeout_minutes"`
} `yaml:"common"`
Cloudlist []string `yaml:"cloudlist"`
BackdoorUser struct {
Action string `yaml:"action"`
Username string `yaml:"username"`
Password string `yaml:"password"`
} `yaml:"backdoor-user"`
DatabaseAccount struct {
Username string `yaml:"username"`
Password string `yaml:"password"`
} `yaml:"database-account"`
}
Click to show internal directories.
Click to hide internal directories.