Versions in this module Expand all Collapse all v0 v0.9.0 Nov 15, 2026 Changes in this version + var ErrOwnServer = errors.New(...) + var ErrStillRunning = errors.New(...) + var ErrSuspended = errors.New(...) + type Module struct + func New() *Module + func (*Module) ChangeDirHelp() (how, undo string) + func (*Module) DecodeNoticeHook(raw []byte) (agent.NoticeHookCall, bool) + func (*Module) EncodeNoticeHook(_ agent.NoticeHookCall, a agent.NoticeHookAnswer) []byte + func (*Module) InSession(_ agent.Install, dir string) string + func (*Module) InstallsViaVendor() bool + func (*Module) NewSessionID(_ agent.Install, now time.Time) agent.SessionID + func (*Module) Profile(agent.Install) ir.Profile + func (*Module) Sanitize() agent.RewritePolicy + func (*Module) Spec() agent.Spec + func (*Module) Verify(ctx context.Context, h agent.Host, mp agent.MovePlan, staged map[string]string, ...) error + func (*Module) VirtualSessions() + func (m *Module) Account(ctx context.Context, h agent.Host, in agent.Install) (agent.Account, error) + func (m *Module) AfterInstall(ctx context.Context, h agent.Host, in agent.Install, key agent.SessionKey, ...) error + func (m *Module) Backup(ctx context.Context, h agent.Host, in agent.Install, sid agent.SessionID) (string, agent.SessionStamp, error) + func (m *Module) Bundle(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary) (agent.Bundle, error) + func (m *Module) ChangeDir(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, ...) error + func (m *Module) CheckInstall(ctx context.Context, h agent.Host, in agent.Install, version string) error + func (m *Module) ContextCapacity(ctx context.Context, h agent.Host, in agent.Install, s *agent.Summary) (ir.Capacity, error) + func (m *Module) Delete(ctx context.Context, h agent.Host, in agent.Install, sid agent.SessionID, ...) error + func (m *Module) Detect(_ context.Context, h agent.Host) (agent.Install, error) + func (m *Module) HookTrust(ctx context.Context, h agent.Host, in agent.Install, _ []string) agent.HookTrust + func (m *Module) Integration(h agent.Host, in agent.Install) agent.Integration + func (m *Module) List(ctx context.Context, h agent.Host, in agent.Install) (agent.Listing, error) + func (m *Module) Live(ctx context.Context, h agent.Host, in agent.Install, ids []agent.SessionID) (map[agent.SessionID]agent.LiveInfo, error) + func (m *Module) Materialize(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, ...) ([]byte, error) + func (m *Module) MovementHooks(h agent.Host, in agent.Install, bin string, args ...string) agent.HookIntegration + func (m *Module) NativeParentGone(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary) (bool, error) + func (m *Module) PlanChangeDir(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, ...) (agent.DirPlan, error) + func (m *Module) PlanMove(_, _ agent.Install, s agent.Summary, b agent.Bundle, p agent.Placement) (agent.MovePlan, error) + func (m *Module) PrepareAccount(ctx context.Context, h agent.Host, in agent.Install, o agent.AccountPrep) (agent.AccountPrepared, error) + func (m *Module) Preview(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, n int) (agent.Preview, error) + func (m *Module) ProjectSanitized(source, target ir.Segment) ([]ir.Projection, error) + func (m *Module) Read(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, ...) (ir.Segment, error) + func (m *Module) RecoverWrite(ctx context.Context, h agent.Host, in agent.Install, req ir.WriteRequest) (ir.WriteResult, error) + func (m *Module) Rename(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, ...) error + func (m *Module) Restore(ctx context.Context, h agent.Host, in agent.Install, sid agent.SessionID, ...) (agent.SessionStamp, error) + func (m *Module) Resume(in agent.Install, key agent.SessionKey, p agent.Placement, ...) agent.Command + func (m *Module) ResumeOn(ctx context.Context, h agent.Host, in agent.Install, key agent.SessionKey, ...) (agent.Command, error) + func (m *Module) SessionStamp(ctx context.Context, h agent.Host, in agent.Install, sid agent.SessionID) (agent.SessionStamp, error) + func (m *Module) SessionWatchPaths(in agent.Install, pa agent.Path) []string + func (m *Module) StartProgram(ctx context.Context, h agent.Host, in agent.Install, restart bool) (string, error) + func (m *Module) Stop(ctx context.Context, h agent.Host, in agent.Install, s agent.Summary, ...) error + func (m *Module) VerifyNativeFork(ctx context.Context, h agent.Host, in agent.Install, ...) ([]agent.NativeInheritance, error) + func (m *Module) Write(ctx context.Context, h agent.Host, in agent.Install, req ir.WriteRequest) (ir.WriteResult, error)