 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type SSHClient
- func (s *SSHClient) CheckReachable(ctx context.Context) (err error)
- func (s *SSHClient) GetDeepCopy() (copy commandexecutorinterfaces.CommandExecutor)
- func (s *SSHClient) GetHostDescription() (hostDescription string, err error)
- func (s *SSHClient) GetHostName() (hostName string, err error)
- func (s *SSHClient) GetSshUserName() (sshUserName string, err error)
- func (s *SSHClient) IsReachable(ctx context.Context) (isReachable bool, err error)
- func (s *SSHClient) IsSshUserNameSet() (isSet bool)
- func (s *SSHClient) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)
- func (s *SSHClient) SetHostName(hostName string) (err error)
- func (s *SSHClient) SetSshUserName(sshUserName string) (err error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHClient ¶
type SSHClient struct {
	commandexecutorgeneric.CommandExecutorBase
	// contains filtered or unexported fields
}
    func GetSshClientByHostName ¶
func NewSSHClient ¶
func NewSSHClient() (s *SSHClient)
func (*SSHClient) CheckReachable ¶
func (*SSHClient) GetDeepCopy ¶
func (s *SSHClient) GetDeepCopy() (copy commandexecutorinterfaces.CommandExecutor)
func (*SSHClient) GetHostDescription ¶
func (*SSHClient) GetHostName ¶
func (*SSHClient) GetSshUserName ¶
func (*SSHClient) IsReachable ¶
func (*SSHClient) IsSshUserNameSet ¶
func (*SSHClient) RunCommand ¶
func (s *SSHClient) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)
func (*SSHClient) SetHostName ¶
func (*SSHClient) SetSshUserName ¶
 Click to show internal directories. 
   Click to hide internal directories.