Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoUpdater ¶
type AutoUpdater struct {
// contains filtered or unexported fields
}
AutoUpdater silently checks for and installs agent updates.
func (*AutoUpdater) CheckAndUpdate ¶
func (u *AutoUpdater) CheckAndUpdate(ctx context.Context) bool
CheckAndUpdate checks for a new version and installs it if available. Safe to call frequently — internally rate-limited to once per hour. Returns true if an update was installed (caller should restart).
type GitHubRelease ¶
Click to show internal directories.
Click to hide internal directories.