Documentation ¶
Index ¶
- Variables
- func RegisterBlobHandlerByName(ctx internal.Context, name string, config BlobHandlerConfig, ...) error
- func RegisterDownloadHandler(ctx internal.Context, hdlr download.Handler, olist ...BlobHandlerOption) error
- func RegisterExtensions(ctx ocm.Context) error
- type BlobHandlerConfig
- type BlobHandlerOption
- type BlobHandlerOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var TAG = logging.NewTag("plugins")
Functions ¶
func RegisterBlobHandlerByName ¶
func RegisterBlobHandlerByName(ctx internal.Context, name string, config BlobHandlerConfig, opts ...BlobHandlerOption) error
func RegisterDownloadHandler ¶
func RegisterExtensions ¶
RegisterExtensions registers all the extension provided the found plugin at the given context. If no context is given, the cache context is used.
Types ¶
type BlobHandlerConfig ¶
type BlobHandlerConfig = internal.BlobHandlerConfig
type BlobHandlerOption ¶
type BlobHandlerOption = internal.BlobHandlerOption
func ForArtifactType ¶
func ForArtifactType(t string) BlobHandlerOption
func ForMimeType ¶
func ForMimeType(t string) BlobHandlerOption
func WithPrio ¶
func WithPrio(prio int) BlobHandlerOption
type BlobHandlerOptions ¶
type BlobHandlerOptions = internal.BlobHandlerOptions
Click to show internal directories.
Click to hide internal directories.