Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FreeCloser ¶
func FreeCloser()
func RegisterDriverFactory ¶
func RegisterDriverFactory(driverType string, factory DriverFactory)
Types ¶
type DriverFactory ¶
type DriverFactory interface {
CreateFileStorageDriver(backend *backendpb.BackendDetail) (FileStorageDriver, error)
}
type FileStorageDriver ¶
type FileStorageDriver interface { // Close: cleanup when driver needs to be stopped. Close() error }
define the fileshare driver interface.
func CreateStorageDriver ¶
func CreateStorageDriver(backend *backendpb.BackendDetail) (FileStorageDriver, error)
Click to show internal directories.
Click to hide internal directories.