Versions in this module Expand all Collapse all v1 v1.0.0 Jun 28, 2020 Changes in this version + func AddCloser(closer Closer) + func FreeCloser() + func RegisterDriverFactory(driverType string, factory DriverFactory) + type Closer interface + Close func() + type DriverFactory interface + CreateFileStorageDriver func(backend *backendpb.BackendDetail) (FileStorageDriver, error) + type FileStorageDriver interface + Close func() error + CreateFileShare func(ctx context.Context, fs *pb.CreateFileShareRequest) (*pb.CreateFileShareResponse, error) + DeleteFileShare func(ctx context.Context, in *pb.DeleteFileShareRequest) (*pb.DeleteFileShareResponse, error) + GetFileShare func(ctx context.Context, fs *pb.GetFileShareRequest) (*pb.GetFileShareResponse, error) + ListFileShare func(ctx context.Context, fs *pb.ListFileShareRequest) (*pb.ListFileShareResponse, error) + UpdatefileShare func(ctx context.Context, fs *pb.UpdateFileShareRequest) (*pb.UpdateFileShareResponse, error) + type StorageDriver interface + func CreateStorageDriver(backend *backendpb.BackendDetail) (StorageDriver, error)