Help us shape the future of Go! Take the 2026 Go Developer Survey

ocispecs

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 18

Documentation

Index

Constants

View Source
const MediaTypeArtifactManifest = "application/vnd.oci.artifact.manifest.v1+json"

Variables

This section is empty.

Functions

This section is empty.

Types

type ReferenceDescriptor

type ReferenceDescriptor struct {
	oci.Descriptor

	ArtifactType string `json:"artifactType,omitempty"`
}

ReferenceDescriptor represents a descriptor for an artifact manifest

type ReferenceManifest

type ReferenceManifest struct {
	MediaType    string            `json:"mediaType"`
	ArtifactType string            `json:"artifactType,omitempty"`
	Blobs        []oci.Descriptor  `json:"blobs"`
	Subject      *oci.Descriptor   `json:"subject,omitempty"`
	Annotations  map[string]string `json:"annotations,omitempty"`
}

ReferenceManifest describes an artifact manifest

type SubjectDescriptor

type SubjectDescriptor struct {
	oci.Descriptor
}

Jump to

Keyboard shortcuts

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