ssh

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

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

func NewForwarder

func NewForwarder(view ui.ViewInterface, forwardType string, values config.ForwardValues, localPort, forwardPort string) (*Forwarder, error)

func (*Forwarder) Forward

func (f *Forwarder) Forward() error

func (*Forwarder) GetForwardType added in v0.0.5

func (f *Forwarder) GetForwardType() string

GetForwardType returns the type of the forward specified in the configuration (ssh, ssh-remote, kubernetes, ...)

func (*Forwarder) GetReadyChannel added in v0.0.6

func (f *Forwarder) GetReadyChannel() chan struct{}

GetReadyChannel returns the Kubernetes go client channel for ready event

func (*Forwarder) GetStopChannel added in v0.0.6

func (f *Forwarder) GetStopChannel() chan struct{}

GetStopChannel returns the Kubernetes go client channel for stop event

func (*Forwarder) Stop added in v0.0.5

func (f *Forwarder) Stop() error

Stop stops the current forwarder

Jump to

Keyboard shortcuts

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