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 ¶
func (c *DefaultStorageContext) AddBlob(blob blobaccess.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, compname string, access BlobSink, impltyp string, payload ...interface{}) StorageContext
Click to show internal directories.
Click to hide internal directories.