package manifest
import "github.com/docker/distribution/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.
Source Files ¶
Directories ¶
| Path | Synopsis |
|---|---|
| manifest/manifestlist | |
| manifest/ocischema | |
| manifest/schema1 | |
| manifest/schema2 |
- Version
- v2.7.0-rc.0+incompatible
- Published
- Sep 28, 2018
- Platform
- js/wasm
- Last checked
- 20 minutes ago –
Tools for package owners.