Documentation ¶
Index ¶
Constants ¶
View Source
const (
ReleemAgentVersion = "1.14.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool `hcl:"debug"` Env string `hcl:"env"` Hostname string `hcl:"hostname"` ApiKey string `hcl:"apikey"` TimePeriodSeconds time.Duration `hcl:"interval_seconds"` ReadConfigSeconds time.Duration `hcl:"interval_read_config_seconds"` GenerateConfigSeconds time.Duration `hcl:"interval_generate_config_seconds"` MysqlPassword string `hcl:"mysql_password"` MysqlUser string `hcl:"mysql_user"` MysqlHost string `hcl:"mysql_host"` MysqlPort string `hcl:"mysql_port"` CommandRestartService string `hcl:"mysql_restart_service"` MysqlConfDir string `hcl:"mysql_cnf_dir"` ReleemConfDir string `hcl:"releem_cnf_dir"` ReleemDir string `hcl:"releem_dir"` MemoryLimit int `hcl:"memory_limit"` InstanceType string `hcl:"instance_type"` AwsRegion string `hcl:"aws_region"` AwsRDSDB string `hcl:"aws_rds_db"` }
func LoadConfigFromString ¶
func (*Config) GetMemoryLimit ¶
func (*Config) GetReleemConfDir ¶
Click to show internal directories.
Click to hide internal directories.