Versions in this module Expand all Collapse all v1 v1.0.0 Mar 1, 2024 Changes in this version + func DownloadFromImage(dest string, config config.BinaryFromImage) error + func Sha256SumBytes(buf []byte) string + func Sha256SumFile(f io.ReadSeeker) (string, error) + func SplitFilepath(path string) []string + type Entries map[LogicalEntryKey]EntryInfo + func ListAllBinaries(appConfig config.Application) (Entries, error) + func ListAllEntries(appConfig config.Application) (Entries, error) + func (e Entries) BinaryFromImageHasSnippet(cfg config.BinaryFromImage) bool + type EntryInfo struct + BinaryPath string + IsConfigured bool + SnippetPath string + type LogicalEntryKey struct + Filename string + OrgName string + Platform string + Version string + func (k LogicalEntryKey) Path() string + type LogicalEntryKeys []LogicalEntryKey + func NewLogicalEntryKeys(m map[LogicalEntryKey]EntryInfo) LogicalEntryKeys + func (l LogicalEntryKeys) Len() int + func (l LogicalEntryKeys) Less(i, j int) bool + func (l LogicalEntryKeys) Swap(i, j int) + type SnippetMetadata struct + FileSha256 string + Length int + Name string + Offset int + SnippetSha256 string + func ReadSnippetMetadata(path string) (*SnippetMetadata, error)