Documentation
¶
Index ¶
- type BlobStorageFactory
- type TransactionalBlobStorage
- func (_m *TransactionalBlobStorage) Commit() error
- func (_m *TransactionalBlobStorage) CreateOrUpdate(networkID string, blobs []blobstore.Blob) error
- func (_m *TransactionalBlobStorage) Delete(networkID string, ids []storage.TypeAndKey) error
- func (_m *TransactionalBlobStorage) Get(networkID string, id storage.TypeAndKey) (blobstore.Blob, error)
- func (_m *TransactionalBlobStorage) GetExistingKeys(keys []string, filter blobstore.SearchFilter) ([]string, error)
- func (_m *TransactionalBlobStorage) GetMany(networkID string, ids []storage.TypeAndKey) ([]blobstore.Blob, error)
- func (_m *TransactionalBlobStorage) IncrementVersion(networkID string, id storage.TypeAndKey) error
- func (_m *TransactionalBlobStorage) ListKeys(networkID string, typeVal string) ([]string, error)
- func (_m *TransactionalBlobStorage) Rollback() error
- func (_m *TransactionalBlobStorage) Search(filter blobstore.SearchFilter, criteria blobstore.LoadCriteria) (map[string][]blobstore.Blob, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStorageFactory ¶
BlobStorageFactory is an autogenerated mock type for the BlobStorageFactory type
func (*BlobStorageFactory) InitializeFactory ¶
func (_m *BlobStorageFactory) InitializeFactory() error
InitializeFactory provides a mock function with given fields:
func (*BlobStorageFactory) StartTransaction ¶
func (_m *BlobStorageFactory) StartTransaction(opts *storage.TxOptions) (blobstore.TransactionalBlobStorage, error)
StartTransaction provides a mock function with given fields: opts
type TransactionalBlobStorage ¶
TransactionalBlobStorage is an autogenerated mock type for the TransactionalBlobStorage type
func (*TransactionalBlobStorage) Commit ¶
func (_m *TransactionalBlobStorage) Commit() error
Commit provides a mock function with given fields:
func (*TransactionalBlobStorage) CreateOrUpdate ¶
func (_m *TransactionalBlobStorage) CreateOrUpdate(networkID string, blobs []blobstore.Blob) error
CreateOrUpdate provides a mock function with given fields: networkID, blobs
func (*TransactionalBlobStorage) Delete ¶
func (_m *TransactionalBlobStorage) Delete(networkID string, ids []storage.TypeAndKey) error
Delete provides a mock function with given fields: networkID, ids
func (*TransactionalBlobStorage) Get ¶
func (_m *TransactionalBlobStorage) Get(networkID string, id storage.TypeAndKey) (blobstore.Blob, error)
Get provides a mock function with given fields: networkID, id
func (*TransactionalBlobStorage) GetExistingKeys ¶
func (_m *TransactionalBlobStorage) GetExistingKeys(keys []string, filter blobstore.SearchFilter) ([]string, error)
GetExistingKeys provides a mock function with given fields: keys, filter
func (*TransactionalBlobStorage) GetMany ¶
func (_m *TransactionalBlobStorage) GetMany(networkID string, ids []storage.TypeAndKey) ([]blobstore.Blob, error)
GetMany provides a mock function with given fields: networkID, ids
func (*TransactionalBlobStorage) IncrementVersion ¶
func (_m *TransactionalBlobStorage) IncrementVersion(networkID string, id storage.TypeAndKey) error
IncrementVersion provides a mock function with given fields: networkID, id
func (*TransactionalBlobStorage) ListKeys ¶
func (_m *TransactionalBlobStorage) ListKeys(networkID string, typeVal string) ([]string, error)
ListKeys provides a mock function with given fields: networkID, typeVal
func (*TransactionalBlobStorage) Rollback ¶
func (_m *TransactionalBlobStorage) Rollback() error
Rollback provides a mock function with given fields:
func (*TransactionalBlobStorage) Search ¶
func (_m *TransactionalBlobStorage) Search(filter blobstore.SearchFilter, criteria blobstore.LoadCriteria) (map[string][]blobstore.Blob, error)
Search provides a mock function with given fields: filter, criteria