Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOCIUpdateChecker ¶
func NewOCIUpdateChecker(artifact string) updatechecker.UpdateChecker
Types ¶
type OCIUpdateChecker ¶
type OCIUpdateChecker struct {
// contains filtered or unexported fields
}
func (OCIUpdateChecker) DownloadVersion ¶
func (c OCIUpdateChecker) DownloadVersion(version string, requireChecksumMatch bool) (string, error)
DownloadVersion will download and extract the specific version, returning a path to the extracted file in the archive it's the responsibility of the caller to clean up the extracted file
func (OCIUpdateChecker) GetLatestVersion ¶
func (c OCIUpdateChecker) GetLatestVersion(timeout time.Duration) (*updatechecker.VersionInfo, error)
GetLatestVersion will return the latest version information from the oci repository
Click to show internal directories.
Click to hide internal directories.