Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerManifestDescriptor ¶
type DockerManifestDescriptor struct { MediaType string `json:"mediaType"` Size int64 `json:"size"` Digest digest.Digest `json:"digest"` Platform ocispec.Platform `json:"platform"` }
For manifest push, compatible with Docker distribution spec
type DockerManifestEntry ¶
type DockerManifestEntry struct { Ref string `json:"Ref"` Descriptor ocispec.Descriptor `json:"Descriptor"` Raw string `json:"Raw"` SchemaV2Manifest interface{} `json:"SchemaV2Manifest,omitempty"` OCIManifest interface{} `json:"OCIManifest,omitempty"` }
DockerManifestEntry represents a single manifest entry in Docker's verbose format
type DockerManifestList ¶
type DockerManifestList struct { SchemaVersion int `json:"schemaVersion"` MediaType string `json:"mediaType,omitempty"` Manifests []DockerManifestDescriptor `json:"manifests"` }
For manifest push, compatible with Docker distribution spec
type DockerManifestListStruct ¶
type DockerManifestListStruct struct { SchemaVersion int `json:"schemaVersion"` MediaType string `json:"mediaType"` Manifests []ocispec.Descriptor `json:"manifests"` }
For Docker's verbose format
type ManifestStruct ¶
type ManifestStruct struct { SchemaVersion int `json:"schemaVersion"` MediaType string `json:"mediaType"` Config ocispec.Descriptor `json:"config"` Layers []ocispec.Descriptor `json:"layers"` Annotations map[string]string `json:"annotations,omitempty"` }
For Docker's verbose format
Click to show internal directories.
Click to hide internal directories.