package manifest
import "github.com/distribution/distribution/v3/manifest"
Index ¶
Types ¶
type Versioned ¶
type Versioned struct { // SchemaVersion is the image manifest schema that this image follows SchemaVersion int `json:"schemaVersion"` // MediaType is the media type of this schema. MediaType string `json:"mediaType,omitempty"` }
Versioned provides a struct with the manifest schemaVersion and mediaType. Incoming content with unknown schema version can be decoded against this struct to check the version.
Deprecated: use [specs.Versioned] and set MediaType on the Manifest itself.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
manifest/manifestlist | |
manifest/ocischema | |
manifest/schema2 |
- Version
- v3.0.0 (latest)
- Published
- Apr 2, 2025
- Platform
- linux/amd64
- Last checked
- 5 days ago –
Tools for package owners.