Documentation ¶
Overview ¶
Package blobhandler contains blobhandlers for handling local blobs for dedicated repository types. It is structured into sub packaged for all context types, for example the context type oci for implementations of the oci go binding interface In those sub packages there a handler packages for dedicated repository implementations for this type, for example the oci registry implementation for the contect type oci.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func For ¶
func For(ctx cpi.ContextProvider) cpi.BlobHandlerRegistry
func RegisterHandlerByName ¶
func RegisterHandlerByName(ctx cpi.ContextProvider, name string, config HandlerConfig, opts ...HandlerOption) error
Types ¶
type HandlerConfig ¶
type HandlerConfig = cpi.BlobHandlerConfig
type HandlerKey ¶
type HandlerKey = cpi.BlobHandlerKey
type HandlerOption ¶
type HandlerOption = cpi.BlobHandlerOption
func ForArtifactType ¶
func ForArtifactType(t string) HandlerOption
func ForMimeType ¶
func ForMimeType(t string) HandlerOption
func ForRepo ¶
func ForRepo(ctxtype string, repotype string) HandlerOption
func WithPrio ¶
func WithPrio(prio int) HandlerOption
type HandlerOptions ¶
type HandlerOptions = cpi.BlobHandlerOptions
type HandlerRegistry ¶
type HandlerRegistry = cpi.BlobHandlerRegistry
Directories ¶
Path | Synopsis |
---|---|
oci
Package oci contains sub packages for blob handler implementations for dedicated implementations of the oci go binding interface.
|
Package oci contains sub packages for blob handler implementations for dedicated implementations of the oci go binding interface. |
ocm
Package ocm contains sub packages for blob handler implementations for dedicated implementations of the default ocm go binding interface.
|
Package ocm contains sub packages for blob handler implementations for dedicated implementations of the default ocm go binding interface. |
Click to show internal directories.
Click to hide internal directories.