manifesttypes

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

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 DockerManifestStruct

type DockerManifestStruct = ManifestStruct

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

type OCIIndexStruct

type OCIIndexStruct = ocispec.Index

For Docker's verbose format

type OCIManifestStruct

type OCIManifestStruct = ManifestStruct

For Docker's verbose format

Jump to

Keyboard shortcuts

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