Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(conn SFTP) *config
initConfig reads in config file and ENV variables if set.
Types ¶
type Hostentry ¶
type Hostentry struct { Host string `json:"host"` User string `json:"user"` Key string `json:"key"` Checksum string `json:"checksum"` Users []string `json:"users"` Groups []string `json:"groups"` Alias string `json:"-"` Config *config `json:"-"` }
func (*Hostentry) UpdateGroups ¶
Click to show internal directories.
Click to hide internal directories.