registries

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Registry = New()

Functions

This section is empty.

Types

type ResourceHandler

type ResourceHandler interface {
	GetResourceContent(ctx context.Context, r model.Resource, access ocm.ResourceAccess) (*model.TypedResourceContent, error)
}

type ResourceHandlerRegistry

type ResourceHandlerRegistry struct {
	// contains filtered or unexported fields
}

func New

func (*ResourceHandlerRegistry) Get

func (*ResourceHandlerRegistry) Register

func (r *ResourceHandlerRegistry) Register(typ string, handler ResourceHandler)

Jump to

Keyboard shortcuts

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