Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
// CurrentVersion is the current version string.
//
// Required: true
CurrentVersion string `json:"currentVersion"`
// NewestVersion is the newest available version string.
//
// Required: false
NewestVersion string `json:"newestVersion,omitempty"`
// UpdateAvailable indicates if an update is available.
//
// Required: true
UpdateAvailable bool `json:"updateAvailable"`
// ReleaseURL is the URL to the release page.
//
// Required: false
ReleaseURL string `json:"releaseUrl,omitempty"`
}
Check contains simplified version check information.
type Info ¶
type Info struct {
// CurrentVersion is the current version string.
//
// Required: true
CurrentVersion string `json:"currentVersion"`
// CurrentTag is the current tag.
//
// Required: false
CurrentTag string `json:"currentTag,omitempty"`
// CurrentDigest is the current digest (hash) of the version.
//
// Required: false
CurrentDigest string `json:"currentDigest,omitempty"`
// Revision is the full revision identifier (e.g., commit hash).
//
// Required: true
Revision string `json:"revision"`
// ShortRevision is the short revision identifier (first 8 chars of commit hash).
//
// Required: true
ShortRevision string `json:"shortRevision"`
// GoVersion is the Go runtime version used to build the application.
//
// Required: true
GoVersion string `json:"goVersion"`
// EnabledFeatures is the list of build-time feature flags compiled into the binary.
//
// Required: false
EnabledFeatures []string `json:"enabledFeatures,omitempty"`
// BuildTime is the timestamp when the application was built.
//
// Required: false
BuildTime string `json:"buildTime,omitempty"`
// DisplayVersion is the version string formatted for display.
//
// Required: true
DisplayVersion string `json:"displayVersion"`
// IsSemverVersion indicates if the current version follows semantic versioning.
//
// Required: true
IsSemverVersion bool `json:"isSemverVersion"`
// NewestVersion is the newest available version string.
//
// Required: false
NewestVersion string `json:"newestVersion,omitempty"`
// NewestDigest is the digest (hash) of the newest available version.
//
// Required: false
NewestDigest string `json:"newestDigest,omitempty"`
// UpdateAvailable indicates if an update is available.
//
// Required: true
UpdateAvailable bool `json:"updateAvailable"`
// ReleaseURL is the URL to the release page.
//
// Required: false
ReleaseURL string `json:"releaseUrl,omitempty"`
}
Info contains detailed version information about the application.
Click to show internal directories.
Click to hide internal directories.