Documentation
¶
Overview ¶
Package imagehandler holds helpers for working with oci images.
Index ¶
Constants ¶
View Source
const (
// SPDXFileSuffix is the file suffix for SPDX files.
SPDXFileSuffix = ".spdx.json"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler processes a fetched image, e.g. exporting it to local storage.
type SPDXFile ¶
type SPDXFile struct {
// Filename is the original filename (e.g., "extension-name.spdx.json").
Filename string
// Source is the source identifier (extension name or "talos").
Source string
// Content is the raw JSON content.
Content []byte
}
SPDXFile represents an extracted SPDX file.
Click to show internal directories.
Click to hide internal directories.