Documentation ¶
Index ¶
- Variables
- func AddActionBackend(actionBackend backends.ObjectClientBackend)
- func AddEventBackend(eventBackend backends.EventStorageBackend)
- func AddObjectBackend(objBackend backends.ObjectStorageBackend)
- func GetActionBackend(name string) backends.ObjectClientBackend
- func GetEventBackend(name string) backends.EventStorageBackend
- func GetObjectBackend(name string) backends.ObjectStorageBackend
- func RegisterStorageBackends()
- func RemoveActionBackend(name string)
- func RemoveEventBackend(name string)
- func RemoveObjectBackend(name string)
- type Registry
- func (r *Registry) AddActionBackend(actionBackend backends.ObjectClientBackend)
- func (r *Registry) AddEventBackend(eventBackend backends.EventStorageBackend)
- func (r *Registry) AddObjectBackend(objBackend backends.ObjectStorageBackend)
- func (r *Registry) GetActionBackend(name string) backends.ObjectClientBackend
- func (r *Registry) GetEventBackend(name string) backends.EventStorageBackend
- func (r *Registry) GetObjectBackend(name string) backends.ObjectStorageBackend
- func (r *Registry) RemoveActionBackend(name string)
- func (r *Registry) RemoveEventBackend(name string)
- func (r *Registry) RemoveObjectBackend(name string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NewObjectBackends []func() backends.ObjectStorageBackend NewEventBackends []func() backends.EventStorageBackend NewClientBackends []func() backends.ObjectClientBackend )
Functions ¶
func AddActionBackend ¶
func AddActionBackend(actionBackend backends.ObjectClientBackend)
func AddEventBackend ¶
func AddEventBackend(eventBackend backends.EventStorageBackend)
func AddObjectBackend ¶
func AddObjectBackend(objBackend backends.ObjectStorageBackend)
func GetActionBackend ¶
func GetActionBackend(name string) backends.ObjectClientBackend
func GetEventBackend ¶
func GetEventBackend(name string) backends.EventStorageBackend
func GetObjectBackend ¶
func GetObjectBackend(name string) backends.ObjectStorageBackend
func RegisterStorageBackends ¶
func RegisterStorageBackends()
func RemoveActionBackend ¶
func RemoveActionBackend(name string)
func RemoveEventBackend ¶
func RemoveEventBackend(name string)
func RemoveObjectBackend ¶
func RemoveObjectBackend(name string)
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewBackendRegistry ¶
func NewBackendRegistry() *Registry
func (*Registry) AddActionBackend ¶
func (r *Registry) AddActionBackend(actionBackend backends.ObjectClientBackend)
func (*Registry) AddEventBackend ¶
func (r *Registry) AddEventBackend(eventBackend backends.EventStorageBackend)
func (*Registry) AddObjectBackend ¶
func (r *Registry) AddObjectBackend(objBackend backends.ObjectStorageBackend)
func (*Registry) GetActionBackend ¶
func (r *Registry) GetActionBackend(name string) backends.ObjectClientBackend
func (*Registry) GetEventBackend ¶
func (r *Registry) GetEventBackend(name string) backends.EventStorageBackend
func (*Registry) GetObjectBackend ¶
func (r *Registry) GetObjectBackend(name string) backends.ObjectStorageBackend
func (*Registry) RemoveActionBackend ¶
func (*Registry) RemoveEventBackend ¶
func (*Registry) RemoveObjectBackend ¶
Click to show internal directories.
Click to hide internal directories.