Documentation ¶
Index ¶
- func CreateUser() (string, error)
- func DirectoryExists(path string) bool
- func Download(version string) (string, error)
- func ExtractTGZ(file string) error
- func FileExists(filename string) bool
- func GetOS() string
- func Install(file string) error
- func InteractiveVersion(versionGroup []VersionGroup) (string, error)
- func MoveFiles(file string) error
- func PrintReleases(versions ...string) error
- func TaskSpinner(done chan bool)
- func Tidy()
- type Release
- type VersionGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
func DirectoryExists ¶
func ExtractTGZ ¶
func FileExists ¶
func InteractiveVersion ¶
func InteractiveVersion(versionGroup []VersionGroup) (string, error)
func PrintReleases ¶
func TaskSpinner ¶
func TaskSpinner(done chan bool)
Types ¶
type Release ¶
type Release struct { Version string Date string ReleaseNotes string DownloadURI string SHA256Sum string }
func Interactive ¶
func InteractiveRelease ¶
func InteractiveRelease(version string, versionGroup []VersionGroup) (Release, error)
type VersionGroup ¶
func GetReleases ¶
func GetReleases() ([]VersionGroup, error)
GetReleases retrieves the release page from Cockroachlabs, and parses it for useful information
Click to show internal directories.
Click to hide internal directories.