Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(name string, config interface{}) (runtimeutil.StorageDriver, error)
func Register ¶
func Register(name string, f FactoryFunc, cf ConfigFactoryFunc)
Types ¶
type ConfigFactoryFunc ¶
type ConfigFactoryFunc func() interface{}
type FactoryFunc ¶
type FactoryFunc func(config interface{}) (runtimeutil.StorageDriver, error)
Click to show internal directories.
Click to hide internal directories.