define

package
v0.64.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 1 Imported by: 4 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// SearchFilterAutomated is the key for filtering images by their automated attribute.
	SearchFilterAutomated = "is-automated"
	// SearchFilterOfficial is the key for filtering images by their official attribute.
	SearchFilterOfficial = "is-official"
	// SearchFilterStars is the key for filtering images by stars.
	SearchFilterStars = "stars"
)

Variables

SearchFilters includes all supported search filters.

Functions

This section is empty.

Types

type ManifestListData added in v0.56.0

type ManifestListData struct {
	SchemaVersion int                      `json:"schemaVersion"`
	MediaType     string                   `json:"mediaType"`
	ArtifactType  string                   `json:"artifactType,omitempty"`
	Manifests     []ManifestListDescriptor `json:"manifests"`
	Subject       *ManifestListDescriptor  `json:"subject,omitempty"`
	Annotations   map[string]string        `json:"annotations,omitempty"`
}

ManifestListData is a list of platform-specific manifests, specifically used to generate output struct for `podman manifest inspect`. Reason for maintaining and having this type is to ensure we can have a single type which contains exclusive fields from both Docker manifest format and OCI manifest format.

type ManifestListDescriptor added in v0.56.0

type ManifestListDescriptor struct {
	manifest.Schema2Descriptor
	Platform     manifest.Schema2PlatformSpec `json:"platform,omitempty"`
	Annotations  map[string]string            `json:"annotations,omitempty"`
	ArtifactType string                       `json:"artifactType,omitempty"`
	Data         []byte                       `json:"data,omitempty"`
	Files        []string                     `json:"files,omitempty"`
}

ManifestListDescriptor describes a manifest that is mentioned in an image index or manifest list. Contains a subset of the fields which are present in both the OCI spec and the Docker spec, along with some which are unique to one or the other.

type PlatformPolicy added in v0.57.0

type PlatformPolicy int

PlatformPolicy controls the behavior of image-platform matching.

const (
	// Only debug log if an image does not match the expected platform.
	PlatformPolicyDefault PlatformPolicy = iota
	// Warn if an image does not match the expected platform.
	PlatformPolicyWarn
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL