registration

package
v0.3.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 RegisterDownloadHandler(ctx internal.Context, hdlr download.Handler, olist ...BlobHandlerOption) error

func RegisterExtensions

func RegisterExtensions(ctx ocm.Context) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL