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 DefaultStorageContext ¶
type DefaultStorageContext struct { cpi.DefaultStorageContext Sink BlobSink Payload interface{} }
func (*DefaultStorageContext) AddBlob ¶
func (c *DefaultStorageContext) AddBlob(blob accessio.BlobAccess) (string, error)
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
Click to show internal directories.
Click to hide internal directories.