Documentation
¶
Overview ¶
Package versioncheck fetches upstream release metadata without changing inventory state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRunning = errors.New("version check already running")
Functions ¶
Types ¶
type Checker ¶
type Checker struct {
DB *sql.DB
Client *http.Client
GitHubURL, DockerURL, EOLURL string // Test servers may replace the fixed public API origins.
Now func() time.Time
}
Click to show internal directories.
Click to hide internal directories.