Documentation ¶
Index ¶
- type DestSshServer
- type NoOpLogger
- func (l NoOpLogger) Debug(...interface{})
- func (l NoOpLogger) Debugf(string, ...interface{})
- func (l NoOpLogger) Error(...interface{})
- func (l NoOpLogger) Errorf(string, ...interface{})
- func (l NoOpLogger) Info(...interface{})
- func (l NoOpLogger) Infof(string, ...interface{})
- func (l NoOpLogger) Warn(...interface{})
- func (l NoOpLogger) Warnf(string, ...interface{})
- type SshGateway
- type UniversalLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestSshServer ¶
type DestSshServer struct { Network string Address string Config *ssh.ClientConfig }
type NoOpLogger ¶
type NoOpLogger struct{}
func (NoOpLogger) Debug ¶
func (l NoOpLogger) Debug(...interface{})
func (NoOpLogger) Debugf ¶
func (l NoOpLogger) Debugf(string, ...interface{})
func (NoOpLogger) Error ¶
func (l NoOpLogger) Error(...interface{})
func (NoOpLogger) Errorf ¶
func (l NoOpLogger) Errorf(string, ...interface{})
func (NoOpLogger) Info ¶
func (l NoOpLogger) Info(...interface{})
func (NoOpLogger) Infof ¶
func (l NoOpLogger) Infof(string, ...interface{})
func (NoOpLogger) Warn ¶
func (l NoOpLogger) Warn(...interface{})
func (NoOpLogger) Warnf ¶
func (l NoOpLogger) Warnf(string, ...interface{})
type SshGateway ¶
type SshGateway struct { HostKey ssh.Signer ListenNetwork string ListenAddress string NoClientAuth bool ValidateKeyboardInteractiveCallback func(username string, client ssh.KeyboardInteractiveChallenge) (*DestSshServer, error) ValidatePasswordCallback func(username string, password []byte) (*DestSshServer, error) ValidatePublicKeyCallback func(username string, key ssh.PublicKey) (*DestSshServer, error) ValidateNoClientAuthCallback func(username string) (*DestSshServer, error) // contains filtered or unexported fields }
func (*SshGateway) Start ¶
func (s *SshGateway) Start() error
func (*SshGateway) Stop ¶
func (s *SshGateway) Stop()
Click to show internal directories.
Click to hide internal directories.