cmd

package
v0.0.0-...-5920b5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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

func Execute

func Execute()

Execute root command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL