Documentation
¶
Overview ¶
Package checkpoint provides functionality for interacting with HashiCorp's Checkpoint service to check for new versions and alerts related to the current version of the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VersionCheckInfo ¶
VersionCheckInfo holds information about the current version of the CLI, including whether it is outdated, the latest version available, and any alerts related to the current version.
func WaitForVersionCheck ¶
func WaitForVersionCheck() VersionCheckInfo
WaitForVersionCheck waits for the result of a Checkpoint request and returns the version information. If the request failed, it returns an empty VersionCheckInfo.
Click to show internal directories.
Click to hide internal directories.