ocispecs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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