Documentation ¶
Index ¶
- type AccessConfig
- func (a *AccessConfig) BuildClientConfig() (*ssh.ClientConfig, error)
- func (a *AccessConfig) GetAddress() string
- func (a *AccessConfig) GetPassword() string
- func (a *AccessConfig) GetPort() int
- func (a *AccessConfig) GetSshAgent() bool
- func (a *AccessConfig) GetSshAgentForwarding() bool
- func (a *AccessConfig) GetSshKey() string
- func (a *AccessConfig) GetUsername() string
- func (a *AccessConfig) SetPort(port int)
- type Configurator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfig ¶
type AccessConfig struct { Username string Password string Address string Port int SshKey string SshAgent bool SshAgentForwarding bool }
func NewAccessConfig ¶
func (*AccessConfig) BuildClientConfig ¶
func (a *AccessConfig) BuildClientConfig() (*ssh.ClientConfig, error)
func (*AccessConfig) GetAddress ¶
func (a *AccessConfig) GetAddress() string
func (*AccessConfig) GetPassword ¶
func (a *AccessConfig) GetPassword() string
func (*AccessConfig) GetPort ¶
func (a *AccessConfig) GetPort() int
func (*AccessConfig) GetSshAgent ¶
func (a *AccessConfig) GetSshAgent() bool
func (*AccessConfig) GetSshAgentForwarding ¶
func (a *AccessConfig) GetSshAgentForwarding() bool
func (*AccessConfig) GetSshKey ¶
func (a *AccessConfig) GetSshKey() string
func (*AccessConfig) GetUsername ¶
func (a *AccessConfig) GetUsername() string
func (*AccessConfig) SetPort ¶
func (a *AccessConfig) SetPort(port int)
Click to show internal directories.
Click to hide internal directories.