oci

package
v0.12.1 Latest Latest
Warning

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

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

Documentation

Overview

Package oci contains sub packages for blob handler implementations for dedicated implementations of the oci go binding interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssureLayer added in v0.5.0

func AssureLayer(desc *artdesc.Manifest, blob cpi.BlobAccess) error

Types

type StorageContext

type StorageContext struct {
	ocmcpi.DefaultStorageContext
	Repository cpi.Repository
	Namespace  cpi.NamespaceAccess
	Manifest   cpi.ManifestAccess
}

StorageContext is the context information passed for Blobhandler registered for context type oci.CONTEXT_TYPE.

func New

func New(compname string, repo ocmcpi.Repository, impltyp string, ocirepo oci.Repository, namespace oci.NamespaceAccess, manifest oci.ManifestAccess) *StorageContext

func (*StorageContext) AssureLayer

func (s *StorageContext) AssureLayer(blob cpi.BlobAccess) error

func (*StorageContext) TargetComponentName added in v0.5.0

func (s *StorageContext) TargetComponentName() string

func (*StorageContext) TargetComponentRepository

func (s *StorageContext) TargetComponentRepository() ocmcpi.Repository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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