ocm

package
v0.10.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobSink

type BlobSink interface {
	AddBlob(blob blobaccess.BlobAccess) (string, error)
}

type DefaultStorageContext

type DefaultStorageContext struct {
	cpi.DefaultStorageContext
	Sink    BlobSink
	Payload interface{}
}

func (*DefaultStorageContext) AddBlob

type StorageContext

type StorageContext interface {
	cpi.StorageContext
	BlobSink
}

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

func New

func New(repo cpi.Repository, compname string, access BlobSink, impltyp string, payload ...interface{}) StorageContext

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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