Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lock ¶
type Lock struct { Version string `json:"version"` Contents LockContents `json:"contents"` }
func (Lock) SaveToFile ¶
type LockContents ¶
type LockContents struct { Keyrings []LockKeyring `json:"keyring"` Repositories []LockRepo `json:"repositories"` // Packages in order of installation -> for a single architecture. Packages []LockPkg `json:"packages"` }
type LockKeyring ¶
type LockPkg ¶
type LockPkg struct { Name string `json:"name"` URL string `json:"url"` Version string `json:"version"` Architecture string `json:"architecture"` Signature LockPkgRangeAndChecksum `json:"signature"` Control LockPkgRangeAndChecksum `json:"control"` Data LockPkgRangeAndChecksum `json:"data"` // Checksum is APK-style: 'Q1' prefixed SHA1 hash of the second gzip stream (control stream) in the package. // For data-consistency checks use Signature, Control & Data above. // Populated since Apko 0.13. Checksum string `json:"checksum"` }
type LockPkgRangeAndChecksum ¶
Click to show internal directories.
Click to hide internal directories.