Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackend ¶
func UndecoratedBackend ¶
Types ¶
type BackendDecorator ¶
type RESTOptions ¶
type RESTOptions struct { BackendConfig *backend.Config Decorator BackendDecorator ResourcePrefix string }
RESTOptions is set of configuration options to generic registries.
func (RESTOptions) GetRESTOptions ¶
func (opts RESTOptions) GetRESTOptions(schema.GroupResource) (RESTOptions, error)
Implement RESTOptionsGetter so that RESTOptions can directly be used when available (i.e. tests)
type RESTOptionsGetter ¶
type RESTOptionsGetter interface {
GetRESTOptions(resource schema.GroupResource) (RESTOptions, error)
}
type StoreOptions ¶
type StoreOptions struct { RESTOptions RESTOptionsGetter Transformer backend.BackendTransformer }
StoreOptions is set of configuration options used to complete generic registries.
Click to show internal directories.
Click to hide internal directories.