Documentation ¶
Overview ¶
Package oci contains sub packages for blob handler implementations for dedicated implementations of the oci go binding interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssureLayer ¶ added in v0.5.0
func AssureLayer(desc *artdesc.Manifest, blob cpi.BlobAccess) error
Types ¶
type StorageContext ¶
type StorageContext struct { ocmcpi.DefaultStorageContext Repository cpi.Repository Namespace cpi.NamespaceAccess Manifest cpi.ManifestAccess }
StorageContext is the context information passed for Blobhandler registered for context type oci.CONTEXT_TYPE.
func New ¶
func New(compname string, repo ocmcpi.Repository, impltyp string, ocirepo oci.Repository, namespace oci.NamespaceAccess, manifest oci.ManifestAccess) *StorageContext
func (*StorageContext) AssureLayer ¶
func (s *StorageContext) AssureLayer(blob cpi.BlobAccess) error
func (*StorageContext) TargetComponentName ¶ added in v0.5.0
func (s *StorageContext) TargetComponentName() string
func (*StorageContext) TargetComponentRepository ¶
func (s *StorageContext) TargetComponentRepository() ocmcpi.Repository
Click to show internal directories.
Click to hide internal directories.