Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DestinationPath string
DestinationPath : path to destination file
View Source
var SourcePath string
SourcePath : path to source file
Functions ¶
Types ¶
type Config ¶
type Config struct { Username string `mapstructure:"username"` Password string `mapstructure:"password"` Hosts []string `mapstructure:"hosts"` CommandsFile string `mapstructure:"commands_file"` SourcePath string `mapstructure:"source_path"` DestinationPath string `mapstructure:"destination_path"` SSHPrivateKey string `mapstructure:"ssh_private_key"` SSHPublicKey string `mapstructure:"ssh_public_key"` SSHPort string `mapstructure:"ssh_port"` ConnectionMethod string `mapstructure:"connection_method"` }
Config struct for toml config file
Click to show internal directories.
Click to hide internal directories.