Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatestK0sBinaryURL ¶
LatestK0sBinaryURL returns the url for the latest k0s release by arch and os
func LatestK0sVersion ¶
LatestK0sVersion returns the latest k0s version number (without v prefix)
Types ¶
type Release ¶
type Release struct { URL string `json:"html_url"` TagName string `json:"tag_name"` PreRelease bool `json:"prerelease"` Assets []Asset `json:"assets"` }
Release describes a github release
func LatestRelease ¶
LatestRelease returns the semantically sorted latest k0sctl version from github
Click to show internal directories.
Click to hide internal directories.