github.com/anchore/syft@v1.38.2/syft/source/snap_metadata.go (about) 1 package source 2 3 import "github.com/anchore/syft/syft/file" 4 5 type SnapMetadata struct { 6 // Summary is a brief description of the snap package 7 Summary string `yaml:"summary" json:"summary,omitempty"` 8 9 // Base is the base snap this package builds upon 10 Base string `yaml:"base" json:"base,omitempty"` 11 12 // Grade is the development stage (stable, candidate, beta, edge) 13 Grade string `yaml:"grade" json:"grade,omitempty"` 14 15 // Confinement is the security isolation level (strict, classic, devmode) 16 Confinement string `yaml:"confinement" json:"confinement,omitempty"` 17 18 // Architectures are the supported CPU architectures 19 Architectures []string `yaml:"architectures" json:"architectures,omitempty"` 20 21 // Digests are hashes of the snap squashfs files 22 Digests []file.Digest `yaml:"digests" json:"digests,omitempty"` 23 }