oci

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 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

This section is empty.

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(vers ocmcpi.ComponentVersionAccess, 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) TargetComponentRepository

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

func (*StorageContext) TargetComponentVersion

func (s *StorageContext) TargetComponentVersion() ocmcpi.ComponentVersionAccess

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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