localociblob

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type   = "localOciBlob"
	TypeV1 = Type + runtime.VersionSeparator + "v1"
)

Type is the access type for a component version local blob in an OCI repository.

Variables

This section is empty.

Functions

func Decode added in v0.3.0

func Decode(data []byte) (*localblob.AccessSpec, error)

func New

func New(digest digest.Digest) *localblob.AccessSpec

New creates a new LocalOCIBlob accessor. Deprecated: Use LocalBlob.

Types

type AccessSpec

type AccessSpec struct {
	runtime.ObjectVersionedType `json:",inline"`

	// Digest is the digest of the targeted content.
	Digest digest.Digest `json:"digest"`
}

AccessSpec describes the access for a oci registry. Deprecated: Use LocalBlob.

Jump to

Keyboard shortcuts

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