Documentation ¶
Overview ¶
Copyright Jetstack Ltd. See LICENSE for details.
Copyright Jetstack Ltd. See LICENSE for details.
Index ¶
- type SSH
- func (s *SSH) Cleanup()
- func (s *SSH) Execute(host string, cmd []string, stdin io.Reader, stdout, stderr io.Writer) (int, error)
- func (s *SSH) PassThrough(argsAdditional []string) error
- func (s *SSH) Tunnel(dest, destPort, localPort string, daemonize bool) interfaces.Tunnel
- func (s *SSH) Validate() error
- func (s *SSH) WriteConfig(c interfaces.Cluster) error
- type Tunnel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSH ¶
type SSH struct {
// contains filtered or unexported fields
}
func New ¶
func New(tarmak interfaces.Tarmak) *SSH
func (*SSH) PassThrough ¶
Pass through a local CLI session
func (*SSH) Tunnel ¶
func (s *SSH) Tunnel(dest, destPort, localPort string, daemonize bool) interfaces.Tunnel
This opens a local tunnel through a SSH connection
func (*SSH) WriteConfig ¶
func (s *SSH) WriteConfig(c interfaces.Cluster) error
Click to show internal directories.
Click to hide internal directories.