Documentation
¶
Overview ¶
Package gdmf reads Apple's public software-update catalog.
Index ¶
Constants ¶
View Source
const (
// DefaultURL is Apple's public software-update catalog endpoint.
DefaultURL = "https://gdmf.apple.com/v2/pmv"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Catalog ¶
type Catalog struct {
AssetSets map[string][]Release `json:"AssetSets"`
PublicAssetSets map[string][]Release `json:"PublicAssetSets"`
PublicRapidSecurityResponses map[string][]Release `json:"PublicRapidSecurityResponses"`
}
Catalog is the top-level GDMF response split into managed, public, and RSR sets.
type Client ¶
Client fetches and conditionally caches Apple's GDMF catalog.
type Entry ¶
type Entry struct {
Platform string `json:"platform"`
ProductVersion string `json:"productVersion"`
Build string `json:"build"`
PostingDate string `json:"postingDate"`
ExpirationDate string `json:"expirationDate,omitempty"`
SupportedDevices []string `json:"supportedDevices,omitempty"`
Catalog string `json:"catalog"` // managed|public|rsr
Expired bool `json:"expired"`
}
Entry is the stable, flattened representation exposed by abctl.
type Release ¶
type Release struct {
ProductVersion string `json:"ProductVersion"`
Build string `json:"Build"`
PostingDate string `json:"PostingDate"`
ExpirationDate string `json:"ExpirationDate,omitempty"`
SupportedDevices []string `json:"SupportedDevices,omitempty"`
}
Release is one Apple software release in a GDMF asset set.
Click to show internal directories.
Click to hide internal directories.