Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadReadableStore ¶
func LoadReadableStore(name string, options *Options) (models.ReadableStore, error)
LoadReadableStore finds an available readable store by name
func LoadWritableStore ¶
func LoadWritableStore(name string, options *Options) (models.WritableStore, error)
LoadWritableStore finds a writable store by its name
func RegisterStore ¶
func RegisterStore(name string, store StoreLoader)
RegisterStore registers an available store
Types ¶
type Options ¶
type Options struct {
Params map[string]string
MergeOptions *models.MergeOptions
ActionInput jobs.ActionMessage
Context context.Context
}
Options passes params and merge options when initializing stores
Source Files
¶
- registry.go
Click to show internal directories.
Click to hide internal directories.