-
Notifications
You must be signed in to change notification settings - Fork 2
/
types.go
19 lines (18 loc) · 910 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package tact
// Node holds configuration for the given session
type Node struct {
HostName string `json:"hostname,omitempty"`
NetAddr string `json:"netaddr,omitempty"`
Type string `json:"type,omitempty"`
SSHPort string `json:"ssh_port,omitempty"`
SSHUser string `json:"ssh_user,omitempty"`
SSHPassword string `json:"ssh_password,omitempty"`
SSHKey []byte `json:"ssh_key,omitempty"`
APIURL string `json:"api_url,omitempty"`
APIUser string `json:"api_user,omitempty"`
APIPassword string `json:"api_password,omitempty"`
DBUser string `json:"db_user,omitempty"`
DBPassword string `json:"db_password,omitempty"`
DBPort string `json:"db_port,omitempty"`
LogFiles map[string]string `json:"files,omitempty"`
}