storage

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedBackend = errors.New("unsupported backend")
	ErrNameInvalid        = errors.New("invalid key provided")
	Providers             utils.Registry[RestProvider]
)

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Provide(obj resource.Object, scheme *runtime.Scheme, getter generic.RESTOptionsGetter) (rest.Storage, error)
}

func NewProvider

func NewProvider(conf configv1alpha1.APIServerConfig) (Provider, error)

type RestProvider

type RestProvider func(obj resource.Object, scheme *runtime.Scheme, getter generic.RESTOptionsGetter, backend *configv1alpha1.Backend, apiBinding *configv1alpha1.API) (rest.Storage, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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