Documentation ¶
Overview ¶
Package installers processes the installers_v2.json file
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Arch ¶
type Arch struct {
URL string `json:"url"`
}
Arch is the architecture-specific URL for an installer
type Installers ¶
Installers contains the product-specific URLs for an installer Example: {"datadog-agent": {...} }
func ListVersions ¶
func ListVersions(url string) (*Installers, error)
ListVersions returns a list of available product versions from a installers_v2.json URL
func (*Installers) UnmarshalJSON ¶
func (i *Installers) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface
type Product ¶
Product contains the version-specific URLs for an installer product Example: {"7.50.0-1": {...} }
func (*Product) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.