Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectTcpipChannelHandler ¶
type DirectTcpipChannelHandler struct {
// contains filtered or unexported fields
}
func NewDirectTcpipChannelHandler ¶
func NewDirectTcpipChannelHandler(dialer Dialer) *DirectTcpipChannelHandler
func (*DirectTcpipChannelHandler) HandleNewChannel ¶
func (handler *DirectTcpipChannelHandler) HandleNewChannel(logger lager.Logger, newChannel ssh.NewChannel)
type GlobalRequestHandler ¶
type NewChannelHandler ¶
type NewChannelHandler interface {
HandleNewChannel(logger lager.Logger, newChannel ssh.NewChannel)
}
type Runner ¶
type Runner interface { Start(cmd *exec.Cmd) error Wait(cmd *exec.Cmd) error Signal(cmd *exec.Cmd, signal syscall.Signal) error }
func NewCommandRunner ¶
func NewCommandRunner() Runner
type SessionChannelHandler ¶
type SessionChannelHandler struct {
// contains filtered or unexported fields
}
func NewSessionChannelHandler ¶
func NewSessionChannelHandler( runner Runner, shellLocator ShellLocator, defaultEnv map[string]string, keepalive time.Duration, ) *SessionChannelHandler
func (*SessionChannelHandler) HandleNewChannel ¶
func (handler *SessionChannelHandler) HandleNewChannel(logger lager.Logger, newChannel ssh.NewChannel)
type ShellLocator ¶
type ShellLocator interface {
ShellPath() string
}
func NewShellLocator ¶
func NewShellLocator() ShellLocator
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.