Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Name string Home string Jar string EntryPoint string `yaml:"entry_point"` Command string PidFile string `yaml:"pid_file"` }
represents app entries
type ConsoleLog ¶
type Java ¶
type Java struct { Home string Version float32 Server bool Memory *Memory JMX *JMX Prop map[string]string Option []string }
represents java entries
type Log ¶
type Log struct { ConsoleLog *ConsoleLog `yaml:"console"` GCLog *GCLog `yaml:"gc"` Dump *Dump ErrorLog *ErrorLog `yaml:"error"` }
represents log entries
type Memory ¶
type Memory struct { HeapMin string `yaml:"heap_min"` HeapMax string `yaml:"heap_max"` PermMin string `yaml:"perm_min"` PermMax string `yaml:"perm_max"` MetaspaceMin string `yaml:"metaspace_min"` MetaspaceMax string `yaml:"metaspace_max"` NewMin string `yaml:"new_min"` NewMax string `yaml:"new_max"` SurvivorRatio *int `yaml:"survivor_ratio"` TargetSurvivorRatio *int `yaml:"target_survivor_ratio"` }
type YAMLConfig ¶
type YAMLConfig struct { App App Java Java Log *Log OS OS PreCommands []string `yaml:"pre"` PostCommands []string `yaml:"post"` }
func LoadConfig ¶
func LoadConfig(configPath string) (result *YAMLConfig, err error)
Click to show internal directories.
Click to hide internal directories.