Documentation ¶
Index ¶
- func Logger(c logging.ContextProvider, keyValuePairs ...interface{}) logging.Logger
- 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 ¶
This section is empty.
Functions ¶
func Logger ¶ added in v0.3.0
func Logger(c logging.ContextProvider, keyValuePairs ...interface{}) logging.Logger
func RegisterBlobHandlerByName ¶
func RegisterBlobHandlerByName(ctx internal.Context, name string, config BlobHandlerConfig, opts ...BlobHandlerOption) error
func RegisterDownloadHandler ¶
func RegisterExtensions ¶
RegisterExtensions registers all the extension provided by the found plugin.
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.