Documentation
¶
Overview ¶
Package wingconnect owns a wing's remembered SSH connection pool. Remote execution stays in the receiving wing; this pool only routes bounded calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmissionArguments ¶
func AdmissionArguments(args json.RawMessage) (json.RawMessage, string, error)
Types ¶
type Connection ¶
type Options ¶
type Options struct {
Dir, LocalWingID string
Hello controlsocket.Hello
Transport sshcontrol.Transport
ConnectTimeout, CallTimeout time.Duration
// Deterministic fixture seams; production uses real timers and OpenSSH.
Dial func(context.Context, config.Remote, controlsocket.Hello) (Connection, error)
NewTimer func(time.Duration) Timer
Jitter func(time.Duration) time.Duration
OnChange func()
}
type UnknownOutcome ¶
UnknownOutcome means delivery may have succeeded. Only the original key may reconcile admission; the caller must not launch a replacement request.
func (*UnknownOutcome) Error ¶
func (e *UnknownOutcome) Error() string
func (*UnknownOutcome) Unwrap ¶
func (e *UnknownOutcome) Unwrap() error
Click to show internal directories.
Click to hide internal directories.