Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MajorVersionsCmd = &cobra.Command{ Use: "majorversions", Aliases: []string{"v"}, Short: "List available majors versions (for driver_tools, custom_iso, addons)", Long: "List available major versions to help query drives_tools, custom_isos and addons", Example: getMajorVersions, Run: func(cmd *cobra.Command, args []string) { majorVersions, err := api.GetMajorVersionsString(majorVersionsSlug) handleErrors(err) fmt.Println(majorVersions) }, }
versionsCmd represents the versions command
Functions ¶
Types ¶
type JsonOutput ¶ added in v1.1.0
type JsonOutput struct { EulaAccepted bool `json:"eula_accepted"` EligibleToDownload bool `json:"eligible_to_download"` Version string `json:"version"` Files []sdk.DownloadDetails `json:"files"` }
Click to show internal directories.
Click to hide internal directories.