Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DialerFunc ¶
func (DialerFunc) DialContext ¶
type ExecRequest ¶
type ExecRequest struct {
Server string
Plan providerapi.ConnectorPlan
Dialer Dialer
Stream StreamConfig
}
type Executor ¶
type Executor interface {
RunShell(ctx context.Context, request ShellRequest) error
RunExec(ctx context.Context, request ExecRequest) (int, error)
}
type InteractiveSession ¶
type InteractiveSession interface {
Run(ctx context.Context, stream StreamConfig) error
Resize(ctx context.Context, size TerminalSize) error
Close() error
}
type ShellRequest ¶
type ShellRequest struct {
Server string
Plan providerapi.ConnectorPlan
LocalRCCommand string
StartupMarker string
Dialer Dialer
Stream StreamConfig
}
type StreamSession ¶
type TerminalSize ¶
Click to show internal directories.
Click to hide internal directories.