Documentation
¶
Index ¶
- type Manager
- func (manager Manager) Check(ctx context.Context, requested string) (Release, error)
- func (manager Manager) PlanUninstall(purge bool) UninstallPlan
- func (manager Manager) Uninstall(purge bool) (UninstallPlan, error)
- func (manager Manager) Update(ctx context.Context, requested string) (UpdateResult, error)
- type Release
- type UninstallPlan
- type UpdateResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
CurrentVersion string
Executable string
GOOS string
GOARCH string
APIBase string
ReleaseBase string
CacheRoot string
AgentHome string
Client *http.Client
ValidateCandidate func(context.Context, string, string) error
}
func (Manager) PlanUninstall ¶
func (manager Manager) PlanUninstall(purge bool) UninstallPlan
type UninstallPlan ¶
type UpdateResult ¶
Click to show internal directories.
Click to hide internal directories.