Documentation
¶
Overview ¶
Package sessionparkcourier transports canonical parked-session envelopes. Source admission/finalization remains in sessionpark.Store and target reconstruction remains in sessionparkreceive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Warn receives operator warnings about configuration that park ignores.
// A nil Warn discards them.
Warn io.Writer
// DiagnosticDir is a private per-resume directory that receives remote
// stderr on failure. An empty DiagnosticDir disables capture entirely, in
// which case a failure reports that stderr was suppressed rather than
// printing it.
DiagnosticDir string
}
Options carries the two host-side concerns the courier itself must not decide: where an ignored-configuration warning is surfaced, and which private directory may receive remote diagnostics.
type Result ¶
type Result struct {
Receipt sessionpark.Receipt
Replay bool
}
type SSHDeliverer ¶
type SSHDeliverer struct {
// contains filtered or unexported fields
}
func NewSSHDeliverer ¶
func NewSSHDeliverer(config sessionmove.SSHConfig, options Options) (*SSHDeliverer, error)
Click to show internal directories.
Click to hide internal directories.