Documentation
¶
Overview ¶
Package builtin reads the generated material snapshot embedded in the installed binary. Catalog, manifest and archive bytes remain a closed set.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMaterial ¶
func CheckSelection ¶
Types ¶
type Manifest ¶
type Manifest struct {
SchemaVersion int `json:"schemaVersion"`
SourceRevision string `json:"sourceRevision"`
Scope string `json:"scope"`
IndexSHA256 string `json:"indexSHA256"`
Catalog map[string]string `json:"catalog"`
ArchiveSHA256 string `json:"archiveSHA256"`
Coverage []tool.Object `json:"coverage"`
Materials []Material `json:"materials"`
}
type Material ¶
type Material struct {
Provider string `json:"provider"`
CaseID string `json:"caseId"`
StoryID string `json:"storyId"`
Attempt string `json:"attempt"`
Path string `json:"path"`
Files tool.Object `json:"files"`
Contracts map[string]string `json:"contracts"`
OfficialSDK tool.Object `json:"officialSDK"`
Qualification tool.Object `json:"qualification"`
Plan json.RawMessage `json:"plan"`
}
func CheckPreparedRoot ¶
CheckPreparedRoot accepts the fixture-owned material descriptor in addition to the exact builtin payload. All payload bytes still match the snapshot.