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