Documentation
¶
Overview ¶
Package helper implements Courier's temporary, consent-gated remote helper.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deploy ¶
type Deploy func(context.Context, *sshx.Connection, sshx.Platform, string, string) (*sftp.Client, io.Closer, error)
Deploy stages and starts a helper over an authenticated SSH connection.
type Manager ¶
type Manager struct {
Confirm Confirm
Acquire Acquire
Deploy Deploy
Detect Detect
// contains filtered or unexported fields
}
Manager applies the capability, consent, acquisition, and cleanup policy.
type Source ¶
type Source struct {
Repository string
Version string
Token string
Client update.HTTPClient
GOOS string
GOARCH string
Executable func() (string, error)
EvalLinks func(string) (string, error)
}
Source selects the running executable for matching platforms and immutable GitHub Release artifacts for cross-platform helpers.
Click to show internal directories.
Click to hide internal directories.