Documentation
¶
Overview ¶
Package sbom describes packages as CycloneDX software bills of materials: what each package is, which charts and container images it installs, pinned by digest, and which packages it requires.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// ToolVersion is the kubepkg version that made the document.
ToolVersion string
// Timestamp is when the described state was made, e.g. the index's
// generation time, so the same packages give the same document.
Timestamp time.Time
// Name describes the whole set, e.g. a cluster or a bundle.
Name string
}
Options shape the document.
type Package ¶
type Package struct {
Name, Version string
Build int32
// Repository names where the version came from; Digest is its spec
// digest in that repository's signed index.
Repository, Digest string
Spec v1.PackageSourceSpec
// Variant picks the requirements to record; default when empty.
Variant string
}
Package is one package version to describe.
Click to show internal directories.
Click to hide internal directories.