Documentation
¶
Index ¶
Constants ¶
View Source
const Version = `0.1.7`
Version is the current version of cloudtoolkit
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"`
} `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.