Documentation
¶
Overview ¶
Package pkgmeta reads normalized metadata from native DEB, RPM, and APK package files. DEB and RPM queries run through fixed networkless container invocations; APK control metadata is parsed directly from the package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inspector ¶
type Inspector struct {
// contains filtered or unexported fields
}
Inspector reads native package metadata without trusting filenames.
DEB and RPM inspection runs fixed commands in networkless read-only containers. APK inspection parses the concatenated gzip/tar package streams directly and reads only the .PKGINFO control member.
type Options ¶
type Options struct {
// DockerPath overrides the docker executable. Empty resolves "docker" from PATH.
DockerPath string
// DebianImage overrides the pinned Debian inspection image.
DebianImage string
// FedoraImage overrides the pinned Fedora inspection image.
FedoraImage string
// Environ is the child process environment. Nil inherits the parent.
Environ []string
// Stderr receives live container diagnostics. Nil discards them.
Stderr io.Writer
}
Options configures an Inspector.
Click to show internal directories.
Click to hide internal directories.