ocm

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: 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 accessio.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, vers cpi.ComponentVersionAccess, 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