Documentation
¶
Overview ¶
Package versioncheck inspects installed Agent components without mutating them. NPM-backed components are compared with the registry in one batched check; script/manual/project agents fall back to their local binary version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) Check ¶
Check returns installed Agent version information. The mutex deliberately spans the external probes: duplicate page loads share one bounded check rather than spawning competing npm registry requests.
func (*Service) Invalidate ¶
func (s *Service) Invalidate()
Invalidate drops the process-local result cache after an install, upgrade or uninstall changes the set of Agent components.
Click to show internal directories.
Click to hide internal directories.