hosts

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialer

type Dialer struct {
	// contains filtered or unexported fields
}

func SSHDialer

func SSHDialer(h *Host) (*Dialer, error)

func (*Dialer) OpenTunnel

func (d *Dialer) OpenTunnel(timeout bool) (*Tunnel, error)

type DialersOptions

type DialersOptions struct {
	K8sWrapTransport transport.WrapperFunc
}

type Host

type Host struct {
	types.Node `json:",inline"`
}

type Tunnel

type Tunnel struct {
	Stdin  io.Reader
	Stdout io.Writer
	Stderr io.Writer
	Modes  ssh.TerminalModes
	Term   string
	Height int
	Weight int
	// contains filtered or unexported fields
}

func (*Tunnel) Close

func (t *Tunnel) Close() error

func (*Tunnel) Cmd

func (t *Tunnel) Cmd(cmd string) *Tunnel

func (*Tunnel) Run

func (t *Tunnel) Run() error

func (*Tunnel) SetStdio

func (t *Tunnel) SetStdio(stdout, stderr io.Writer) *Tunnel

func (*Tunnel) Terminal

func (t *Tunnel) Terminal() error

Jump to

Keyboard shortcuts

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