Documentation
¶
Overview ¶
Package testutil provides helpers for seeding on-disk image state in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Seed ¶
type Seed struct {
Repository string
DigestHex string
// Tag optionally creates a tag symlink pointing at the image.
Tag string
// Name overrides the metadata "name" field; it defaults to
// repository:tag, or repository@sha256:digest when Tag is empty.
Name string
// Tags records resource tags in the metadata.
Tags map[string]string
// Content writes the image into the shared content layout instead of
// the legacy per-repository digest layout.
Content bool
}
Seed describes a ready image to seed directly to disk, bypassing pulls, builds, and conversion.
Click to show internal directories.
Click to hide internal directories.