12345678910111213141516171819202122232425262728293031323334353637383940 |
- package models
- import "golang.org/x/crypto/ssh"
- type ServerNodeConfig struct {
- NodeId string
- *ServerNodeInfo
- *SSHInfo
- *AppInfo
- *SysInfo
- }
- type ServerNodeInfo struct {
- IpPort string
- LocalFile string
- TargetFile string
- User string
- Password string
- XuguAddr string
- }
- type SSHInfo struct {
- SSHClient *ssh.ClientConfig
- }
- type AppInfo struct {
- Gcc string
- Libaio string
- Snmpd string
- Ntpd string
- }
- type SysInfo struct {
- OsStackSize string
- OsOpenFiles string
- CoreWmemDefault string
- CoreRmemDefault string
- CoreRmemMax string
- CoreWmemMax string
- }
|