api

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 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 string, acceptEula bool) (data []sdk.DownloadPayload, err error)

func GetEula

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

func ListFiles

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

func ListProducts

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

func ListSubProducts

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

func ListVersions

func ListVersions(slug, subProduct 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 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