ocispecs

package
v1.1.1 Latest Latest
Warning

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

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

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