Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.14.1
type Config struct { Name string `json:"name,omitempty"` // This checksum also covers included files and command-line settings that influence the artifacts resolution. DeepChecksum string `json:"checksum,omitempty"` }
Origin describes the source file used to generate the lock file. Used to detect that the origin got changed without regenerating the lockfile.
type Lock ¶
type Lock struct { Version string `json:"version"` Config *Config `json:"config,omitempty"` Contents LockContents `json:"contents"` }
func (Lock) SaveToFile ¶
type LockContents ¶
type LockContents struct { Keyrings []LockKeyring `json:"keyring"` BuildRepositories []LockRepo `json:"build_repositories"` RuntimeRepositories []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.