api

package
v1.2.0-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureLogin

func EnsureLogin(username, password string) (err error)
func FetchDownloadLink(downloadPayload sdk.DownloadPayload, username, password string) (data sdk.AuthorizedDownload, err error)

func FetchDownloadPayload

func FetchDownloadPayload(slug, subProduct, version, fileName, username, password, dlgType string, acceptEula bool) (data []sdk.DownloadPayload, err error)

func GetEula

func GetEula(slug, subProduct, version, username, password, dlgType string) (data string, err error)

func GetMajorVersionsString

func GetMajorVersionsString(slug string) (majorVersionString string, err error)

func ListFiles

func ListFiles(slug, subProduct, version, username, password, dlgType string) (dlgDetails sdk.DlgDetails, apiVersions sdk.APIVersions, err error)

func ListProducts

func ListProducts() (data [][]string, err error)

func ListSubProducts

func ListSubProducts(slug, dlgType, majorVersion string) (data [][]string, err error)

func ListVersions

func ListVersions(slug, subProduct, dlgType string) (data string, err error)

Types

type Availability

type Availability struct {
	EulaAccepted       bool
	EligibleToDownload bool
}

func ListFilesArray added in v1.1.0

func ListFilesArray(slug, subProduct, version, username, password, dlgType string) (data [][]string, availability Availability, apiVersions sdk.APIVersions, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL