Documentation ¶
Index ¶
- type IFILE
- func (_m *IFILE) CreateFolder(name string, parents ...string) (interface{}, error)
- func (_m *IFILE) Delete(fileIDs []string) error
- func (_m *IFILE) Download(fileID string) (interface{}, error)
- func (_m *IFILE) GetMetaData(fileID string) (interface{}, error)
- func (_m *IFILE) List(pageSize int64, pageToken ...string) (interface{}, error)
- func (_m *IFILE) Move(fileID string, oldParentID string, newParentID string) (interface{}, error)
- func (_m *IFILE) Upload(name string, fileContent io.Reader, parents ...string) (interface{}, error)
- type INoSQLDocument
- func (_m *INoSQLDocument) Create(databaseName string, collectionName string, documents []interface{}) (interface{}, error)
- func (_m *INoSQLDocument) Delete(databaseName string, collectionName string, filter interface{}) (interface{}, error)
- func (_m *INoSQLDocument) Read(databaseName string, collectionName string, filter interface{}, limit int64, ...) (interface{}, error)
- func (_m *INoSQLDocument) Update(databaseName string, collectionName string, filter interface{}, ...) (interface{}, error)
- type INoSQLKeyValue
- func (_m *INoSQLKeyValue) Close() error
- func (_m *INoSQLKeyValue) Delete(key string) error
- func (_m *INoSQLKeyValue) Get(key string) (interface{}, error)
- func (_m *INoSQLKeyValue) GetCapacity() (interface{}, error)
- func (_m *INoSQLKeyValue) GetNumberOfRecords() int
- func (_m *INoSQLKeyValue) Middleware(_a0 hash.IHash) echo.MiddlewareFunc
- func (_m *INoSQLKeyValue) Set(key string, value interface{}, expire time.Duration) error
- func (_m *INoSQLKeyValue) Update(key string, value interface{}, expire time.Duration) error
- type ISQLRelational
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IFILE ¶
IFILE is an autogenerated mock type for the IFILE type
func (*IFILE) CreateFolder ¶
CreateFolder provides a mock function with given fields: name, parents
func (*IFILE) GetMetaData ¶
GetMetaData provides a mock function with given fields: fileID
type INoSQLDocument ¶
INoSQLDocument is an autogenerated mock type for the INoSQLDocument type
func (*INoSQLDocument) Create ¶
func (_m *INoSQLDocument) Create(databaseName string, collectionName string, documents []interface{}) (interface{}, error)
Create provides a mock function with given fields: databaseName, collectionName, documents
func (*INoSQLDocument) Delete ¶
func (_m *INoSQLDocument) Delete(databaseName string, collectionName string, filter interface{}) (interface{}, error)
Delete provides a mock function with given fields: databaseName, collectionName, filter
type INoSQLKeyValue ¶
INoSQLKeyValue is an autogenerated mock type for the INoSQLKeyValue type
func (*INoSQLKeyValue) Close ¶
func (_m *INoSQLKeyValue) Close() error
Close provides a mock function with given fields:
func (*INoSQLKeyValue) Delete ¶
func (_m *INoSQLKeyValue) Delete(key string) error
Delete provides a mock function with given fields: key
func (*INoSQLKeyValue) Get ¶
func (_m *INoSQLKeyValue) Get(key string) (interface{}, error)
Get provides a mock function with given fields: key
func (*INoSQLKeyValue) GetCapacity ¶
func (_m *INoSQLKeyValue) GetCapacity() (interface{}, error)
GetCapacity provides a mock function with given fields:
func (*INoSQLKeyValue) GetNumberOfRecords ¶
func (_m *INoSQLKeyValue) GetNumberOfRecords() int
GetNumberOfRecords provides a mock function with given fields:
func (*INoSQLKeyValue) Middleware ¶
func (_m *INoSQLKeyValue) Middleware(_a0 hash.IHash) echo.MiddlewareFunc
Middleware provides a mock function with given fields: _a0
type ISQLRelational ¶
ISQLRelational is an autogenerated mock type for the ISQLRelational type
func (*ISQLRelational) Execute ¶
func (_m *ISQLRelational) Execute(query string, dataModel interface{}) (interface{}, error)
Execute provides a mock function with given fields: query, dataModel