mocks

package
v0.0.0-...-89602ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStorageFactory

type BlobStorageFactory struct {
	mock.Mock
}

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

StartTransaction provides a mock function with given fields: opts

type TransactionalBlobStorage

type TransactionalBlobStorage struct {
	mock.Mock
}

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

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

Search provides a mock function with given fields: filter, criteria

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL