Documentation ¶
Index ¶
- type Host
- type PrivateKeyPath
- type PublicKeyPath
- type SSH
- func (s *SSH) Close()
- func (s *SSH) RunCommand(ctx context.Context, cmd string) error
- func (s *SSH) RunCommandStdin(ctx context.Context, command string, content []byte) error
- func (s *SSH) RunCommandStdout(ctx context.Context, command string) ([]byte, error)
- func (s *SSH) Validate(ctx context.Context) error
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKeyPath ¶
type PrivateKeyPath string
func (PrivateKeyPath) String ¶
func (p PrivateKeyPath) String() string
type PublicKeyPath ¶
type PublicKeyPath string
func (PublicKeyPath) String ¶
func (p PublicKeyPath) String() string
type SSH ¶
type SSH struct { Host Host PrivateKeyPath PrivateKeyPath User User // contains filtered or unexported fields }
func (*SSH) RunCommandStdin ¶
func (*SSH) RunCommandStdout ¶
Click to show internal directories.
Click to hide internal directories.