sessionparkcourier

package
v0.67.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 13 Imported by: 0

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)

func (*SSHDeliverer) Deliver

func (deliverer *SSHDeliverer) Deliver(ctx context.Context, raw []byte) (Result, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL