Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Iterator
- func (fake *Iterator) Close() error
- func (fake *Iterator) CloseCallCount() int
- func (fake *Iterator) CloseCalls(stub func() error)
- func (fake *Iterator) CloseReturns(result1 error)
- func (fake *Iterator) CloseReturnsOnCall(i int, result1 error)
- func (fake *Iterator) Invocations() map[string][][]interface{}
- func (fake *Iterator) Key() (string, error)
- func (fake *Iterator) KeyCallCount() int
- func (fake *Iterator) KeyCalls(stub func() (string, error))
- func (fake *Iterator) KeyReturns(result1 string, result2 error)
- func (fake *Iterator) KeyReturnsOnCall(i int, result1 string, result2 error)
- func (fake *Iterator) Next() (bool, error)
- func (fake *Iterator) NextCallCount() int
- func (fake *Iterator) NextCalls(stub func() (bool, error))
- func (fake *Iterator) NextReturns(result1 bool, result2 error)
- func (fake *Iterator) NextReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *Iterator) Tags() ([]storage.Tag, error)
- func (fake *Iterator) TagsCallCount() int
- func (fake *Iterator) TagsCalls(stub func() ([]storage.Tag, error))
- func (fake *Iterator) TagsReturns(result1 []storage.Tag, result2 error)
- func (fake *Iterator) TagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
- func (fake *Iterator) TotalItems() (int, error)
- func (fake *Iterator) TotalItemsCallCount() int
- func (fake *Iterator) TotalItemsCalls(stub func() (int, error))
- func (fake *Iterator) TotalItemsReturns(result1 int, result2 error)
- func (fake *Iterator) TotalItemsReturnsOnCall(i int, result1 int, result2 error)
- func (fake *Iterator) Value() ([]byte, error)
- func (fake *Iterator) ValueCallCount() int
- func (fake *Iterator) ValueCalls(stub func() ([]byte, error))
- func (fake *Iterator) ValueReturns(result1 []byte, result2 error)
- func (fake *Iterator) ValueReturnsOnCall(i int, result1 []byte, result2 error)
- type MongoDBIterator
- func (fake *MongoDBIterator) Close() error
- func (fake *MongoDBIterator) CloseCallCount() int
- func (fake *MongoDBIterator) CloseCalls(stub func() error)
- func (fake *MongoDBIterator) CloseReturns(result1 error)
- func (fake *MongoDBIterator) CloseReturnsOnCall(i int, result1 error)
- func (fake *MongoDBIterator) Invocations() map[string][][]interface{}
- func (fake *MongoDBIterator) Key() (string, error)
- func (fake *MongoDBIterator) KeyCallCount() int
- func (fake *MongoDBIterator) KeyCalls(stub func() (string, error))
- func (fake *MongoDBIterator) KeyReturns(result1 string, result2 error)
- func (fake *MongoDBIterator) KeyReturnsOnCall(i int, result1 string, result2 error)
- func (fake *MongoDBIterator) Next() (bool, error)
- func (fake *MongoDBIterator) NextCallCount() int
- func (fake *MongoDBIterator) NextCalls(stub func() (bool, error))
- func (fake *MongoDBIterator) NextReturns(result1 bool, result2 error)
- func (fake *MongoDBIterator) NextReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *MongoDBIterator) Tags() ([]storage.Tag, error)
- func (fake *MongoDBIterator) TagsCallCount() int
- func (fake *MongoDBIterator) TagsCalls(stub func() ([]storage.Tag, error))
- func (fake *MongoDBIterator) TagsReturns(result1 []storage.Tag, result2 error)
- func (fake *MongoDBIterator) TagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
- func (fake *MongoDBIterator) TotalItems() (int, error)
- func (fake *MongoDBIterator) TotalItemsCallCount() int
- func (fake *MongoDBIterator) TotalItemsCalls(stub func() (int, error))
- func (fake *MongoDBIterator) TotalItemsReturns(result1 int, result2 error)
- func (fake *MongoDBIterator) TotalItemsReturnsOnCall(i int, result1 int, result2 error)
- func (fake *MongoDBIterator) Value() ([]byte, error)
- func (fake *MongoDBIterator) ValueAsRawMap() (map[string]interface{}, error)
- func (fake *MongoDBIterator) ValueAsRawMapCallCount() int
- func (fake *MongoDBIterator) ValueAsRawMapCalls(stub func() (map[string]interface{}, error))
- func (fake *MongoDBIterator) ValueAsRawMapReturns(result1 map[string]interface{}, result2 error)
- func (fake *MongoDBIterator) ValueAsRawMapReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *MongoDBIterator) ValueCallCount() int
- func (fake *MongoDBIterator) ValueCalls(stub func() ([]byte, error))
- func (fake *MongoDBIterator) ValueReturns(result1 []byte, result2 error)
- func (fake *MongoDBIterator) ValueReturnsOnCall(i int, result1 []byte, result2 error)
- type MongoDBProvider
- func (fake *MongoDBProvider) Close() error
- func (fake *MongoDBProvider) CloseCallCount() int
- func (fake *MongoDBProvider) CloseCalls(stub func() error)
- func (fake *MongoDBProvider) CloseReturns(result1 error)
- func (fake *MongoDBProvider) CloseReturnsOnCall(i int, result1 error)
- func (fake *MongoDBProvider) CreateCustomIndexes(arg1 string, arg2 ...mongo.IndexModel) error
- func (fake *MongoDBProvider) CreateCustomIndexesArgsForCall(i int) (string, []mongo.IndexModel)
- func (fake *MongoDBProvider) CreateCustomIndexesCallCount() int
- func (fake *MongoDBProvider) CreateCustomIndexesCalls(stub func(string, ...mongo.IndexModel) error)
- func (fake *MongoDBProvider) CreateCustomIndexesReturns(result1 error)
- func (fake *MongoDBProvider) CreateCustomIndexesReturnsOnCall(i int, result1 error)
- func (fake *MongoDBProvider) GetOpenStores() []storage.Store
- func (fake *MongoDBProvider) GetOpenStoresCallCount() int
- func (fake *MongoDBProvider) GetOpenStoresCalls(stub func() []storage.Store)
- func (fake *MongoDBProvider) GetOpenStoresReturns(result1 []storage.Store)
- func (fake *MongoDBProvider) GetOpenStoresReturnsOnCall(i int, result1 []storage.Store)
- func (fake *MongoDBProvider) GetStoreConfig(arg1 string) (storage.StoreConfiguration, error)
- func (fake *MongoDBProvider) GetStoreConfigArgsForCall(i int) string
- func (fake *MongoDBProvider) GetStoreConfigCallCount() int
- func (fake *MongoDBProvider) GetStoreConfigCalls(stub func(string) (storage.StoreConfiguration, error))
- func (fake *MongoDBProvider) GetStoreConfigReturns(result1 storage.StoreConfiguration, result2 error)
- func (fake *MongoDBProvider) GetStoreConfigReturnsOnCall(i int, result1 storage.StoreConfiguration, result2 error)
- func (fake *MongoDBProvider) Invocations() map[string][][]interface{}
- func (fake *MongoDBProvider) OpenStore(arg1 string) (storage.Store, error)
- func (fake *MongoDBProvider) OpenStoreArgsForCall(i int) string
- func (fake *MongoDBProvider) OpenStoreCallCount() int
- func (fake *MongoDBProvider) OpenStoreCalls(stub func(string) (storage.Store, error))
- func (fake *MongoDBProvider) OpenStoreReturns(result1 storage.Store, result2 error)
- func (fake *MongoDBProvider) OpenStoreReturnsOnCall(i int, result1 storage.Store, result2 error)
- func (fake *MongoDBProvider) Ping() error
- func (fake *MongoDBProvider) PingCallCount() int
- func (fake *MongoDBProvider) PingCalls(stub func() error)
- func (fake *MongoDBProvider) PingReturns(result1 error)
- func (fake *MongoDBProvider) PingReturnsOnCall(i int, result1 error)
- func (fake *MongoDBProvider) SetStoreConfig(arg1 string, arg2 storage.StoreConfiguration) error
- func (fake *MongoDBProvider) SetStoreConfigArgsForCall(i int) (string, storage.StoreConfiguration)
- func (fake *MongoDBProvider) SetStoreConfigCallCount() int
- func (fake *MongoDBProvider) SetStoreConfigCalls(stub func(string, storage.StoreConfiguration) error)
- func (fake *MongoDBProvider) SetStoreConfigReturns(result1 error)
- func (fake *MongoDBProvider) SetStoreConfigReturnsOnCall(i int, result1 error)
- type MongoDBStore
- func (fake *MongoDBStore) Batch(arg1 []storage.Operation) error
- func (fake *MongoDBStore) BatchArgsForCall(i int) []storage.Operation
- func (fake *MongoDBStore) BatchCallCount() int
- func (fake *MongoDBStore) BatchCalls(stub func([]storage.Operation) error)
- func (fake *MongoDBStore) BatchReturns(result1 error)
- func (fake *MongoDBStore) BatchReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) BulkWrite(arg1 []mongo.WriteModel, arg2 ...*options.BulkWriteOptions) error
- func (fake *MongoDBStore) BulkWriteArgsForCall(i int) ([]mongo.WriteModel, []*options.BulkWriteOptions)
- func (fake *MongoDBStore) BulkWriteCallCount() int
- func (fake *MongoDBStore) BulkWriteCalls(stub func([]mongo.WriteModel, ...*options.BulkWriteOptions) error)
- func (fake *MongoDBStore) BulkWriteReturns(result1 error)
- func (fake *MongoDBStore) BulkWriteReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) Close() error
- func (fake *MongoDBStore) CloseCallCount() int
- func (fake *MongoDBStore) CloseCalls(stub func() error)
- func (fake *MongoDBStore) CloseReturns(result1 error)
- func (fake *MongoDBStore) CloseReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) CreateMongoDBFindOptions(arg1 []storage.QueryOption, arg2 bool) *options.FindOptions
- func (fake *MongoDBStore) CreateMongoDBFindOptionsArgsForCall(i int) ([]storage.QueryOption, bool)
- func (fake *MongoDBStore) CreateMongoDBFindOptionsCallCount() int
- func (fake *MongoDBStore) CreateMongoDBFindOptionsCalls(stub func([]storage.QueryOption, bool) *options.FindOptions)
- func (fake *MongoDBStore) CreateMongoDBFindOptionsReturns(result1 *options.FindOptions)
- func (fake *MongoDBStore) CreateMongoDBFindOptionsReturnsOnCall(i int, result1 *options.FindOptions)
- func (fake *MongoDBStore) Delete(arg1 string) error
- func (fake *MongoDBStore) DeleteArgsForCall(i int) string
- func (fake *MongoDBStore) DeleteCallCount() int
- func (fake *MongoDBStore) DeleteCalls(stub func(string) error)
- func (fake *MongoDBStore) DeleteReturns(result1 error)
- func (fake *MongoDBStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) Flush() error
- func (fake *MongoDBStore) FlushCallCount() int
- func (fake *MongoDBStore) FlushCalls(stub func() error)
- func (fake *MongoDBStore) FlushReturns(result1 error)
- func (fake *MongoDBStore) FlushReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) Get(arg1 string) ([]byte, error)
- func (fake *MongoDBStore) GetArgsForCall(i int) string
- func (fake *MongoDBStore) GetAsRawMap(arg1 string) (map[string]interface{}, error)
- func (fake *MongoDBStore) GetAsRawMapArgsForCall(i int) string
- func (fake *MongoDBStore) GetAsRawMapCallCount() int
- func (fake *MongoDBStore) GetAsRawMapCalls(stub func(string) (map[string]interface{}, error))
- func (fake *MongoDBStore) GetAsRawMapReturns(result1 map[string]interface{}, result2 error)
- func (fake *MongoDBStore) GetAsRawMapReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
- func (fake *MongoDBStore) GetBulk(arg1 ...string) ([][]byte, error)
- func (fake *MongoDBStore) GetBulkArgsForCall(i int) []string
- func (fake *MongoDBStore) GetBulkAsRawMap(arg1 ...string) ([]map[string]interface{}, error)
- func (fake *MongoDBStore) GetBulkAsRawMapArgsForCall(i int) []string
- func (fake *MongoDBStore) GetBulkAsRawMapCallCount() int
- func (fake *MongoDBStore) GetBulkAsRawMapCalls(stub func(...string) ([]map[string]interface{}, error))
- func (fake *MongoDBStore) GetBulkAsRawMapReturns(result1 []map[string]interface{}, result2 error)
- func (fake *MongoDBStore) GetBulkAsRawMapReturnsOnCall(i int, result1 []map[string]interface{}, result2 error)
- func (fake *MongoDBStore) GetBulkCallCount() int
- func (fake *MongoDBStore) GetBulkCalls(stub func(...string) ([][]byte, error))
- func (fake *MongoDBStore) GetBulkReturns(result1 [][]byte, result2 error)
- func (fake *MongoDBStore) GetBulkReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *MongoDBStore) GetCallCount() int
- func (fake *MongoDBStore) GetCalls(stub func(string) ([]byte, error))
- func (fake *MongoDBStore) GetReturns(result1 []byte, result2 error)
- func (fake *MongoDBStore) GetReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *MongoDBStore) GetTags(arg1 string) ([]storage.Tag, error)
- func (fake *MongoDBStore) GetTagsArgsForCall(i int) string
- func (fake *MongoDBStore) GetTagsCallCount() int
- func (fake *MongoDBStore) GetTagsCalls(stub func(string) ([]storage.Tag, error))
- func (fake *MongoDBStore) GetTagsReturns(result1 []storage.Tag, result2 error)
- func (fake *MongoDBStore) GetTagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
- func (fake *MongoDBStore) Invocations() map[string][][]interface{}
- func (fake *MongoDBStore) Put(arg1 string, arg2 []byte, arg3 ...storage.Tag) error
- func (fake *MongoDBStore) PutArgsForCall(i int) (string, []byte, []storage.Tag)
- func (fake *MongoDBStore) PutAsJSON(arg1 string, arg2 interface{}) error
- func (fake *MongoDBStore) PutAsJSONArgsForCall(i int) (string, interface{})
- func (fake *MongoDBStore) PutAsJSONCallCount() int
- func (fake *MongoDBStore) PutAsJSONCalls(stub func(string, interface{}) error)
- func (fake *MongoDBStore) PutAsJSONReturns(result1 error)
- func (fake *MongoDBStore) PutAsJSONReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) PutCallCount() int
- func (fake *MongoDBStore) PutCalls(stub func(string, []byte, ...storage.Tag) error)
- func (fake *MongoDBStore) PutReturns(result1 error)
- func (fake *MongoDBStore) PutReturnsOnCall(i int, result1 error)
- func (fake *MongoDBStore) Query(arg1 string, arg2 ...storage.QueryOption) (storage.Iterator, error)
- func (fake *MongoDBStore) QueryArgsForCall(i int) (string, []storage.QueryOption)
- func (fake *MongoDBStore) QueryCallCount() int
- func (fake *MongoDBStore) QueryCalls(stub func(string, ...storage.QueryOption) (storage.Iterator, error))
- func (fake *MongoDBStore) QueryCustom(arg1 interface{}, arg2 ...*options.FindOptions) (mongodb.Iterator, error)
- func (fake *MongoDBStore) QueryCustomArgsForCall(i int) (interface{}, []*options.FindOptions)
- func (fake *MongoDBStore) QueryCustomCallCount() int
- func (fake *MongoDBStore) QueryCustomCalls(stub func(interface{}, ...*options.FindOptions) (mongodb.Iterator, error))
- func (fake *MongoDBStore) QueryCustomReturns(result1 mongodb.Iterator, result2 error)
- func (fake *MongoDBStore) QueryCustomReturnsOnCall(i int, result1 mongodb.Iterator, result2 error)
- func (fake *MongoDBStore) QueryReturns(result1 storage.Iterator, result2 error)
- func (fake *MongoDBStore) QueryReturnsOnCall(i int, result1 storage.Iterator, result2 error)
- type Provider
- func (fake *Provider) Close() error
- func (fake *Provider) CloseCallCount() int
- func (fake *Provider) CloseCalls(stub func() error)
- func (fake *Provider) CloseReturns(result1 error)
- func (fake *Provider) CloseReturnsOnCall(i int, result1 error)
- func (fake *Provider) GetOpenStores() []storage.Store
- func (fake *Provider) GetOpenStoresCallCount() int
- func (fake *Provider) GetOpenStoresCalls(stub func() []storage.Store)
- func (fake *Provider) GetOpenStoresReturns(result1 []storage.Store)
- func (fake *Provider) GetOpenStoresReturnsOnCall(i int, result1 []storage.Store)
- func (fake *Provider) GetStoreConfig(arg1 string) (storage.StoreConfiguration, error)
- func (fake *Provider) GetStoreConfigArgsForCall(i int) string
- func (fake *Provider) GetStoreConfigCallCount() int
- func (fake *Provider) GetStoreConfigCalls(stub func(string) (storage.StoreConfiguration, error))
- func (fake *Provider) GetStoreConfigReturns(result1 storage.StoreConfiguration, result2 error)
- func (fake *Provider) GetStoreConfigReturnsOnCall(i int, result1 storage.StoreConfiguration, result2 error)
- func (fake *Provider) Invocations() map[string][][]interface{}
- func (fake *Provider) OpenStore(arg1 string) (storage.Store, error)
- func (fake *Provider) OpenStoreArgsForCall(i int) string
- func (fake *Provider) OpenStoreCallCount() int
- func (fake *Provider) OpenStoreCalls(stub func(string) (storage.Store, error))
- func (fake *Provider) OpenStoreReturns(result1 storage.Store, result2 error)
- func (fake *Provider) OpenStoreReturnsOnCall(i int, result1 storage.Store, result2 error)
- func (fake *Provider) SetStoreConfig(arg1 string, arg2 storage.StoreConfiguration) error
- func (fake *Provider) SetStoreConfigArgsForCall(i int) (string, storage.StoreConfiguration)
- func (fake *Provider) SetStoreConfigCallCount() int
- func (fake *Provider) SetStoreConfigCalls(stub func(string, storage.StoreConfiguration) error)
- func (fake *Provider) SetStoreConfigReturns(result1 error)
- func (fake *Provider) SetStoreConfigReturnsOnCall(i int, result1 error)
- type Store
- func (fake *Store) Batch(arg1 []storage.Operation) error
- func (fake *Store) BatchArgsForCall(i int) []storage.Operation
- func (fake *Store) BatchCallCount() int
- func (fake *Store) BatchCalls(stub func([]storage.Operation) error)
- func (fake *Store) BatchReturns(result1 error)
- func (fake *Store) BatchReturnsOnCall(i int, result1 error)
- func (fake *Store) Close() error
- func (fake *Store) CloseCallCount() int
- func (fake *Store) CloseCalls(stub func() error)
- func (fake *Store) CloseReturns(result1 error)
- func (fake *Store) CloseReturnsOnCall(i int, result1 error)
- func (fake *Store) Delete(arg1 string) error
- func (fake *Store) DeleteArgsForCall(i int) string
- func (fake *Store) DeleteCallCount() int
- func (fake *Store) DeleteCalls(stub func(string) error)
- func (fake *Store) DeleteReturns(result1 error)
- func (fake *Store) DeleteReturnsOnCall(i int, result1 error)
- func (fake *Store) Flush() error
- func (fake *Store) FlushCallCount() int
- func (fake *Store) FlushCalls(stub func() error)
- func (fake *Store) FlushReturns(result1 error)
- func (fake *Store) FlushReturnsOnCall(i int, result1 error)
- func (fake *Store) Get(arg1 string) ([]byte, error)
- func (fake *Store) GetArgsForCall(i int) string
- func (fake *Store) GetBulk(arg1 ...string) ([][]byte, error)
- func (fake *Store) GetBulkArgsForCall(i int) []string
- func (fake *Store) GetBulkCallCount() int
- func (fake *Store) GetBulkCalls(stub func(...string) ([][]byte, error))
- func (fake *Store) GetBulkReturns(result1 [][]byte, result2 error)
- func (fake *Store) GetBulkReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *Store) GetCallCount() int
- func (fake *Store) GetCalls(stub func(string) ([]byte, error))
- func (fake *Store) GetReturns(result1 []byte, result2 error)
- func (fake *Store) GetReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Store) GetTags(arg1 string) ([]storage.Tag, error)
- func (fake *Store) GetTagsArgsForCall(i int) string
- func (fake *Store) GetTagsCallCount() int
- func (fake *Store) GetTagsCalls(stub func(string) ([]storage.Tag, error))
- func (fake *Store) GetTagsReturns(result1 []storage.Tag, result2 error)
- func (fake *Store) GetTagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
- func (fake *Store) Invocations() map[string][][]interface{}
- func (fake *Store) Put(arg1 string, arg2 []byte, arg3 ...storage.Tag) error
- func (fake *Store) PutArgsForCall(i int) (string, []byte, []storage.Tag)
- func (fake *Store) PutCallCount() int
- func (fake *Store) PutCalls(stub func(string, []byte, ...storage.Tag) error)
- func (fake *Store) PutReturns(result1 error)
- func (fake *Store) PutReturnsOnCall(i int, result1 error)
- func (fake *Store) Query(arg1 string, arg2 ...storage.QueryOption) (storage.Iterator, error)
- func (fake *Store) QueryArgsForCall(i int) (string, []storage.QueryOption)
- func (fake *Store) QueryCallCount() int
- func (fake *Store) QueryCalls(stub func(string, ...storage.QueryOption) (storage.Iterator, error))
- func (fake *Store) QueryReturns(result1 storage.Iterator, result2 error)
- func (fake *Store) QueryReturnsOnCall(i int, result1 storage.Iterator, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator struct { CloseStub func() error KeyStub func() (string, error) NextStub func() (bool, error) TagsStub func() ([]storage.Tag, error) TotalItemsStub func() (int, error) ValueStub func() ([]byte, error) // contains filtered or unexported fields }
func (*Iterator) CloseCallCount ¶
func (*Iterator) CloseCalls ¶
func (*Iterator) CloseReturns ¶
func (*Iterator) CloseReturnsOnCall ¶
func (*Iterator) Invocations ¶
func (*Iterator) KeyCallCount ¶
func (*Iterator) KeyReturns ¶
func (*Iterator) KeyReturnsOnCall ¶
func (*Iterator) NextCallCount ¶
func (*Iterator) NextReturns ¶
func (*Iterator) NextReturnsOnCall ¶
func (*Iterator) TagsCallCount ¶
func (*Iterator) TagsReturns ¶
func (*Iterator) TagsReturnsOnCall ¶
func (*Iterator) TotalItems ¶
func (*Iterator) TotalItemsCallCount ¶
func (*Iterator) TotalItemsCalls ¶
func (*Iterator) TotalItemsReturns ¶
func (*Iterator) TotalItemsReturnsOnCall ¶
func (*Iterator) ValueCallCount ¶
func (*Iterator) ValueCalls ¶
func (*Iterator) ValueReturns ¶
type MongoDBIterator ¶
type MongoDBIterator struct { CloseStub func() error KeyStub func() (string, error) NextStub func() (bool, error) TagsStub func() ([]storage.Tag, error) TotalItemsStub func() (int, error) ValueStub func() ([]byte, error) ValueAsRawMapStub func() (map[string]interface{}, error) // contains filtered or unexported fields }
func (*MongoDBIterator) Close ¶
func (fake *MongoDBIterator) Close() error
func (*MongoDBIterator) CloseCallCount ¶
func (fake *MongoDBIterator) CloseCallCount() int
func (*MongoDBIterator) CloseCalls ¶
func (fake *MongoDBIterator) CloseCalls(stub func() error)
func (*MongoDBIterator) CloseReturns ¶
func (fake *MongoDBIterator) CloseReturns(result1 error)
func (*MongoDBIterator) CloseReturnsOnCall ¶
func (fake *MongoDBIterator) CloseReturnsOnCall(i int, result1 error)
func (*MongoDBIterator) Invocations ¶
func (fake *MongoDBIterator) Invocations() map[string][][]interface{}
func (*MongoDBIterator) Key ¶
func (fake *MongoDBIterator) Key() (string, error)
func (*MongoDBIterator) KeyCallCount ¶
func (fake *MongoDBIterator) KeyCallCount() int
func (*MongoDBIterator) KeyCalls ¶
func (fake *MongoDBIterator) KeyCalls(stub func() (string, error))
func (*MongoDBIterator) KeyReturns ¶
func (fake *MongoDBIterator) KeyReturns(result1 string, result2 error)
func (*MongoDBIterator) KeyReturnsOnCall ¶
func (fake *MongoDBIterator) KeyReturnsOnCall(i int, result1 string, result2 error)
func (*MongoDBIterator) Next ¶
func (fake *MongoDBIterator) Next() (bool, error)
func (*MongoDBIterator) NextCallCount ¶
func (fake *MongoDBIterator) NextCallCount() int
func (*MongoDBIterator) NextCalls ¶
func (fake *MongoDBIterator) NextCalls(stub func() (bool, error))
func (*MongoDBIterator) NextReturns ¶
func (fake *MongoDBIterator) NextReturns(result1 bool, result2 error)
func (*MongoDBIterator) NextReturnsOnCall ¶
func (fake *MongoDBIterator) NextReturnsOnCall(i int, result1 bool, result2 error)
func (*MongoDBIterator) TagsCallCount ¶
func (fake *MongoDBIterator) TagsCallCount() int
func (*MongoDBIterator) TagsCalls ¶
func (fake *MongoDBIterator) TagsCalls(stub func() ([]storage.Tag, error))
func (*MongoDBIterator) TagsReturns ¶
func (fake *MongoDBIterator) TagsReturns(result1 []storage.Tag, result2 error)
func (*MongoDBIterator) TagsReturnsOnCall ¶
func (fake *MongoDBIterator) TagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
func (*MongoDBIterator) TotalItems ¶
func (fake *MongoDBIterator) TotalItems() (int, error)
func (*MongoDBIterator) TotalItemsCallCount ¶
func (fake *MongoDBIterator) TotalItemsCallCount() int
func (*MongoDBIterator) TotalItemsCalls ¶
func (fake *MongoDBIterator) TotalItemsCalls(stub func() (int, error))
func (*MongoDBIterator) TotalItemsReturns ¶
func (fake *MongoDBIterator) TotalItemsReturns(result1 int, result2 error)
func (*MongoDBIterator) TotalItemsReturnsOnCall ¶
func (fake *MongoDBIterator) TotalItemsReturnsOnCall(i int, result1 int, result2 error)
func (*MongoDBIterator) Value ¶
func (fake *MongoDBIterator) Value() ([]byte, error)
func (*MongoDBIterator) ValueAsRawMap ¶
func (fake *MongoDBIterator) ValueAsRawMap() (map[string]interface{}, error)
func (*MongoDBIterator) ValueAsRawMapCallCount ¶
func (fake *MongoDBIterator) ValueAsRawMapCallCount() int
func (*MongoDBIterator) ValueAsRawMapCalls ¶
func (fake *MongoDBIterator) ValueAsRawMapCalls(stub func() (map[string]interface{}, error))
func (*MongoDBIterator) ValueAsRawMapReturns ¶
func (fake *MongoDBIterator) ValueAsRawMapReturns(result1 map[string]interface{}, result2 error)
func (*MongoDBIterator) ValueAsRawMapReturnsOnCall ¶
func (fake *MongoDBIterator) ValueAsRawMapReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
func (*MongoDBIterator) ValueCallCount ¶
func (fake *MongoDBIterator) ValueCallCount() int
func (*MongoDBIterator) ValueCalls ¶
func (fake *MongoDBIterator) ValueCalls(stub func() ([]byte, error))
func (*MongoDBIterator) ValueReturns ¶
func (fake *MongoDBIterator) ValueReturns(result1 []byte, result2 error)
func (*MongoDBIterator) ValueReturnsOnCall ¶
func (fake *MongoDBIterator) ValueReturnsOnCall(i int, result1 []byte, result2 error)
type MongoDBProvider ¶
type MongoDBProvider struct { CloseStub func() error CreateCustomIndexesStub func(string, ...mongo.IndexModel) error GetOpenStoresStub func() []storage.Store GetStoreConfigStub func(string) (storage.StoreConfiguration, error) OpenStoreStub func(string) (storage.Store, error) PingStub func() error SetStoreConfigStub func(string, storage.StoreConfiguration) error // contains filtered or unexported fields }
func (*MongoDBProvider) Close ¶
func (fake *MongoDBProvider) Close() error
func (*MongoDBProvider) CloseCallCount ¶
func (fake *MongoDBProvider) CloseCallCount() int
func (*MongoDBProvider) CloseCalls ¶
func (fake *MongoDBProvider) CloseCalls(stub func() error)
func (*MongoDBProvider) CloseReturns ¶
func (fake *MongoDBProvider) CloseReturns(result1 error)
func (*MongoDBProvider) CloseReturnsOnCall ¶
func (fake *MongoDBProvider) CloseReturnsOnCall(i int, result1 error)
func (*MongoDBProvider) CreateCustomIndexes ¶
func (fake *MongoDBProvider) CreateCustomIndexes(arg1 string, arg2 ...mongo.IndexModel) error
func (*MongoDBProvider) CreateCustomIndexesArgsForCall ¶
func (fake *MongoDBProvider) CreateCustomIndexesArgsForCall(i int) (string, []mongo.IndexModel)
func (*MongoDBProvider) CreateCustomIndexesCallCount ¶
func (fake *MongoDBProvider) CreateCustomIndexesCallCount() int
func (*MongoDBProvider) CreateCustomIndexesCalls ¶
func (fake *MongoDBProvider) CreateCustomIndexesCalls(stub func(string, ...mongo.IndexModel) error)
func (*MongoDBProvider) CreateCustomIndexesReturns ¶
func (fake *MongoDBProvider) CreateCustomIndexesReturns(result1 error)
func (*MongoDBProvider) CreateCustomIndexesReturnsOnCall ¶
func (fake *MongoDBProvider) CreateCustomIndexesReturnsOnCall(i int, result1 error)
func (*MongoDBProvider) GetOpenStores ¶
func (fake *MongoDBProvider) GetOpenStores() []storage.Store
func (*MongoDBProvider) GetOpenStoresCallCount ¶
func (fake *MongoDBProvider) GetOpenStoresCallCount() int
func (*MongoDBProvider) GetOpenStoresCalls ¶
func (fake *MongoDBProvider) GetOpenStoresCalls(stub func() []storage.Store)
func (*MongoDBProvider) GetOpenStoresReturns ¶
func (fake *MongoDBProvider) GetOpenStoresReturns(result1 []storage.Store)
func (*MongoDBProvider) GetOpenStoresReturnsOnCall ¶
func (fake *MongoDBProvider) GetOpenStoresReturnsOnCall(i int, result1 []storage.Store)
func (*MongoDBProvider) GetStoreConfig ¶
func (fake *MongoDBProvider) GetStoreConfig(arg1 string) (storage.StoreConfiguration, error)
func (*MongoDBProvider) GetStoreConfigArgsForCall ¶
func (fake *MongoDBProvider) GetStoreConfigArgsForCall(i int) string
func (*MongoDBProvider) GetStoreConfigCallCount ¶
func (fake *MongoDBProvider) GetStoreConfigCallCount() int
func (*MongoDBProvider) GetStoreConfigCalls ¶
func (fake *MongoDBProvider) GetStoreConfigCalls(stub func(string) (storage.StoreConfiguration, error))
func (*MongoDBProvider) GetStoreConfigReturns ¶
func (fake *MongoDBProvider) GetStoreConfigReturns(result1 storage.StoreConfiguration, result2 error)
func (*MongoDBProvider) GetStoreConfigReturnsOnCall ¶
func (fake *MongoDBProvider) GetStoreConfigReturnsOnCall(i int, result1 storage.StoreConfiguration, result2 error)
func (*MongoDBProvider) Invocations ¶
func (fake *MongoDBProvider) Invocations() map[string][][]interface{}
func (*MongoDBProvider) OpenStore ¶
func (fake *MongoDBProvider) OpenStore(arg1 string) (storage.Store, error)
func (*MongoDBProvider) OpenStoreArgsForCall ¶
func (fake *MongoDBProvider) OpenStoreArgsForCall(i int) string
func (*MongoDBProvider) OpenStoreCallCount ¶
func (fake *MongoDBProvider) OpenStoreCallCount() int
func (*MongoDBProvider) OpenStoreCalls ¶
func (fake *MongoDBProvider) OpenStoreCalls(stub func(string) (storage.Store, error))
func (*MongoDBProvider) OpenStoreReturns ¶
func (fake *MongoDBProvider) OpenStoreReturns(result1 storage.Store, result2 error)
func (*MongoDBProvider) OpenStoreReturnsOnCall ¶
func (fake *MongoDBProvider) OpenStoreReturnsOnCall(i int, result1 storage.Store, result2 error)
func (*MongoDBProvider) Ping ¶
func (fake *MongoDBProvider) Ping() error
func (*MongoDBProvider) PingCallCount ¶
func (fake *MongoDBProvider) PingCallCount() int
func (*MongoDBProvider) PingCalls ¶
func (fake *MongoDBProvider) PingCalls(stub func() error)
func (*MongoDBProvider) PingReturns ¶
func (fake *MongoDBProvider) PingReturns(result1 error)
func (*MongoDBProvider) PingReturnsOnCall ¶
func (fake *MongoDBProvider) PingReturnsOnCall(i int, result1 error)
func (*MongoDBProvider) SetStoreConfig ¶
func (fake *MongoDBProvider) SetStoreConfig(arg1 string, arg2 storage.StoreConfiguration) error
func (*MongoDBProvider) SetStoreConfigArgsForCall ¶
func (fake *MongoDBProvider) SetStoreConfigArgsForCall(i int) (string, storage.StoreConfiguration)
func (*MongoDBProvider) SetStoreConfigCallCount ¶
func (fake *MongoDBProvider) SetStoreConfigCallCount() int
func (*MongoDBProvider) SetStoreConfigCalls ¶
func (fake *MongoDBProvider) SetStoreConfigCalls(stub func(string, storage.StoreConfiguration) error)
func (*MongoDBProvider) SetStoreConfigReturns ¶
func (fake *MongoDBProvider) SetStoreConfigReturns(result1 error)
func (*MongoDBProvider) SetStoreConfigReturnsOnCall ¶
func (fake *MongoDBProvider) SetStoreConfigReturnsOnCall(i int, result1 error)
type MongoDBStore ¶
type MongoDBStore struct { BatchStub func([]storage.Operation) error BulkWriteStub func([]mongo.WriteModel, ...*options.BulkWriteOptions) error CloseStub func() error CreateMongoDBFindOptionsStub func([]storage.QueryOption, bool) *options.FindOptions DeleteStub func(string) error FlushStub func() error GetStub func(string) ([]byte, error) GetAsRawMapStub func(string) (map[string]interface{}, error) GetBulkStub func(...string) ([][]byte, error) GetBulkAsRawMapStub func(...string) ([]map[string]interface{}, error) GetTagsStub func(string) ([]storage.Tag, error) PutStub func(string, []byte, ...storage.Tag) error PutAsJSONStub func(string, interface{}) error QueryStub func(string, ...storage.QueryOption) (storage.Iterator, error) QueryCustomStub func(interface{}, ...*options.FindOptions) (mongodb.Iterator, error) // contains filtered or unexported fields }
func (*MongoDBStore) BatchArgsForCall ¶
func (fake *MongoDBStore) BatchArgsForCall(i int) []storage.Operation
func (*MongoDBStore) BatchCallCount ¶
func (fake *MongoDBStore) BatchCallCount() int
func (*MongoDBStore) BatchCalls ¶
func (fake *MongoDBStore) BatchCalls(stub func([]storage.Operation) error)
func (*MongoDBStore) BatchReturns ¶
func (fake *MongoDBStore) BatchReturns(result1 error)
func (*MongoDBStore) BatchReturnsOnCall ¶
func (fake *MongoDBStore) BatchReturnsOnCall(i int, result1 error)
func (*MongoDBStore) BulkWrite ¶
func (fake *MongoDBStore) BulkWrite(arg1 []mongo.WriteModel, arg2 ...*options.BulkWriteOptions) error
func (*MongoDBStore) BulkWriteArgsForCall ¶
func (fake *MongoDBStore) BulkWriteArgsForCall(i int) ([]mongo.WriteModel, []*options.BulkWriteOptions)
func (*MongoDBStore) BulkWriteCallCount ¶
func (fake *MongoDBStore) BulkWriteCallCount() int
func (*MongoDBStore) BulkWriteCalls ¶
func (fake *MongoDBStore) BulkWriteCalls(stub func([]mongo.WriteModel, ...*options.BulkWriteOptions) error)
func (*MongoDBStore) BulkWriteReturns ¶
func (fake *MongoDBStore) BulkWriteReturns(result1 error)
func (*MongoDBStore) BulkWriteReturnsOnCall ¶
func (fake *MongoDBStore) BulkWriteReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Close ¶
func (fake *MongoDBStore) Close() error
func (*MongoDBStore) CloseCallCount ¶
func (fake *MongoDBStore) CloseCallCount() int
func (*MongoDBStore) CloseCalls ¶
func (fake *MongoDBStore) CloseCalls(stub func() error)
func (*MongoDBStore) CloseReturns ¶
func (fake *MongoDBStore) CloseReturns(result1 error)
func (*MongoDBStore) CloseReturnsOnCall ¶
func (fake *MongoDBStore) CloseReturnsOnCall(i int, result1 error)
func (*MongoDBStore) CreateMongoDBFindOptions ¶
func (fake *MongoDBStore) CreateMongoDBFindOptions(arg1 []storage.QueryOption, arg2 bool) *options.FindOptions
func (*MongoDBStore) CreateMongoDBFindOptionsArgsForCall ¶
func (fake *MongoDBStore) CreateMongoDBFindOptionsArgsForCall(i int) ([]storage.QueryOption, bool)
func (*MongoDBStore) CreateMongoDBFindOptionsCallCount ¶
func (fake *MongoDBStore) CreateMongoDBFindOptionsCallCount() int
func (*MongoDBStore) CreateMongoDBFindOptionsCalls ¶
func (fake *MongoDBStore) CreateMongoDBFindOptionsCalls(stub func([]storage.QueryOption, bool) *options.FindOptions)
func (*MongoDBStore) CreateMongoDBFindOptionsReturns ¶
func (fake *MongoDBStore) CreateMongoDBFindOptionsReturns(result1 *options.FindOptions)
func (*MongoDBStore) CreateMongoDBFindOptionsReturnsOnCall ¶
func (fake *MongoDBStore) CreateMongoDBFindOptionsReturnsOnCall(i int, result1 *options.FindOptions)
func (*MongoDBStore) Delete ¶
func (fake *MongoDBStore) Delete(arg1 string) error
func (*MongoDBStore) DeleteArgsForCall ¶
func (fake *MongoDBStore) DeleteArgsForCall(i int) string
func (*MongoDBStore) DeleteCallCount ¶
func (fake *MongoDBStore) DeleteCallCount() int
func (*MongoDBStore) DeleteCalls ¶
func (fake *MongoDBStore) DeleteCalls(stub func(string) error)
func (*MongoDBStore) DeleteReturns ¶
func (fake *MongoDBStore) DeleteReturns(result1 error)
func (*MongoDBStore) DeleteReturnsOnCall ¶
func (fake *MongoDBStore) DeleteReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Flush ¶
func (fake *MongoDBStore) Flush() error
func (*MongoDBStore) FlushCallCount ¶
func (fake *MongoDBStore) FlushCallCount() int
func (*MongoDBStore) FlushCalls ¶
func (fake *MongoDBStore) FlushCalls(stub func() error)
func (*MongoDBStore) FlushReturns ¶
func (fake *MongoDBStore) FlushReturns(result1 error)
func (*MongoDBStore) FlushReturnsOnCall ¶
func (fake *MongoDBStore) FlushReturnsOnCall(i int, result1 error)
func (*MongoDBStore) GetArgsForCall ¶
func (fake *MongoDBStore) GetArgsForCall(i int) string
func (*MongoDBStore) GetAsRawMap ¶
func (fake *MongoDBStore) GetAsRawMap(arg1 string) (map[string]interface{}, error)
func (*MongoDBStore) GetAsRawMapArgsForCall ¶
func (fake *MongoDBStore) GetAsRawMapArgsForCall(i int) string
func (*MongoDBStore) GetAsRawMapCallCount ¶
func (fake *MongoDBStore) GetAsRawMapCallCount() int
func (*MongoDBStore) GetAsRawMapCalls ¶
func (fake *MongoDBStore) GetAsRawMapCalls(stub func(string) (map[string]interface{}, error))
func (*MongoDBStore) GetAsRawMapReturns ¶
func (fake *MongoDBStore) GetAsRawMapReturns(result1 map[string]interface{}, result2 error)
func (*MongoDBStore) GetAsRawMapReturnsOnCall ¶
func (fake *MongoDBStore) GetAsRawMapReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
func (*MongoDBStore) GetBulkArgsForCall ¶
func (fake *MongoDBStore) GetBulkArgsForCall(i int) []string
func (*MongoDBStore) GetBulkAsRawMap ¶
func (fake *MongoDBStore) GetBulkAsRawMap(arg1 ...string) ([]map[string]interface{}, error)
func (*MongoDBStore) GetBulkAsRawMapArgsForCall ¶
func (fake *MongoDBStore) GetBulkAsRawMapArgsForCall(i int) []string
func (*MongoDBStore) GetBulkAsRawMapCallCount ¶
func (fake *MongoDBStore) GetBulkAsRawMapCallCount() int
func (*MongoDBStore) GetBulkAsRawMapCalls ¶
func (fake *MongoDBStore) GetBulkAsRawMapCalls(stub func(...string) ([]map[string]interface{}, error))
func (*MongoDBStore) GetBulkAsRawMapReturns ¶
func (fake *MongoDBStore) GetBulkAsRawMapReturns(result1 []map[string]interface{}, result2 error)
func (*MongoDBStore) GetBulkAsRawMapReturnsOnCall ¶
func (fake *MongoDBStore) GetBulkAsRawMapReturnsOnCall(i int, result1 []map[string]interface{}, result2 error)
func (*MongoDBStore) GetBulkCallCount ¶
func (fake *MongoDBStore) GetBulkCallCount() int
func (*MongoDBStore) GetBulkCalls ¶
func (fake *MongoDBStore) GetBulkCalls(stub func(...string) ([][]byte, error))
func (*MongoDBStore) GetBulkReturns ¶
func (fake *MongoDBStore) GetBulkReturns(result1 [][]byte, result2 error)
func (*MongoDBStore) GetBulkReturnsOnCall ¶
func (fake *MongoDBStore) GetBulkReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*MongoDBStore) GetCallCount ¶
func (fake *MongoDBStore) GetCallCount() int
func (*MongoDBStore) GetCalls ¶
func (fake *MongoDBStore) GetCalls(stub func(string) ([]byte, error))
func (*MongoDBStore) GetReturns ¶
func (fake *MongoDBStore) GetReturns(result1 []byte, result2 error)
func (*MongoDBStore) GetReturnsOnCall ¶
func (fake *MongoDBStore) GetReturnsOnCall(i int, result1 []byte, result2 error)
func (*MongoDBStore) GetTags ¶
func (fake *MongoDBStore) GetTags(arg1 string) ([]storage.Tag, error)
func (*MongoDBStore) GetTagsArgsForCall ¶
func (fake *MongoDBStore) GetTagsArgsForCall(i int) string
func (*MongoDBStore) GetTagsCallCount ¶
func (fake *MongoDBStore) GetTagsCallCount() int
func (*MongoDBStore) GetTagsCalls ¶
func (fake *MongoDBStore) GetTagsCalls(stub func(string) ([]storage.Tag, error))
func (*MongoDBStore) GetTagsReturns ¶
func (fake *MongoDBStore) GetTagsReturns(result1 []storage.Tag, result2 error)
func (*MongoDBStore) GetTagsReturnsOnCall ¶
func (fake *MongoDBStore) GetTagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
func (*MongoDBStore) Invocations ¶
func (fake *MongoDBStore) Invocations() map[string][][]interface{}
func (*MongoDBStore) PutArgsForCall ¶
func (*MongoDBStore) PutAsJSON ¶
func (fake *MongoDBStore) PutAsJSON(arg1 string, arg2 interface{}) error
func (*MongoDBStore) PutAsJSONArgsForCall ¶
func (fake *MongoDBStore) PutAsJSONArgsForCall(i int) (string, interface{})
func (*MongoDBStore) PutAsJSONCallCount ¶
func (fake *MongoDBStore) PutAsJSONCallCount() int
func (*MongoDBStore) PutAsJSONCalls ¶
func (fake *MongoDBStore) PutAsJSONCalls(stub func(string, interface{}) error)
func (*MongoDBStore) PutAsJSONReturns ¶
func (fake *MongoDBStore) PutAsJSONReturns(result1 error)
func (*MongoDBStore) PutAsJSONReturnsOnCall ¶
func (fake *MongoDBStore) PutAsJSONReturnsOnCall(i int, result1 error)
func (*MongoDBStore) PutCallCount ¶
func (fake *MongoDBStore) PutCallCount() int
func (*MongoDBStore) PutReturns ¶
func (fake *MongoDBStore) PutReturns(result1 error)
func (*MongoDBStore) PutReturnsOnCall ¶
func (fake *MongoDBStore) PutReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Query ¶
func (fake *MongoDBStore) Query(arg1 string, arg2 ...storage.QueryOption) (storage.Iterator, error)
func (*MongoDBStore) QueryArgsForCall ¶
func (fake *MongoDBStore) QueryArgsForCall(i int) (string, []storage.QueryOption)
func (*MongoDBStore) QueryCallCount ¶
func (fake *MongoDBStore) QueryCallCount() int
func (*MongoDBStore) QueryCalls ¶
func (fake *MongoDBStore) QueryCalls(stub func(string, ...storage.QueryOption) (storage.Iterator, error))
func (*MongoDBStore) QueryCustom ¶
func (fake *MongoDBStore) QueryCustom(arg1 interface{}, arg2 ...*options.FindOptions) (mongodb.Iterator, error)
func (*MongoDBStore) QueryCustomArgsForCall ¶
func (fake *MongoDBStore) QueryCustomArgsForCall(i int) (interface{}, []*options.FindOptions)
func (*MongoDBStore) QueryCustomCallCount ¶
func (fake *MongoDBStore) QueryCustomCallCount() int
func (*MongoDBStore) QueryCustomCalls ¶
func (fake *MongoDBStore) QueryCustomCalls(stub func(interface{}, ...*options.FindOptions) (mongodb.Iterator, error))
func (*MongoDBStore) QueryCustomReturns ¶
func (fake *MongoDBStore) QueryCustomReturns(result1 mongodb.Iterator, result2 error)
func (*MongoDBStore) QueryCustomReturnsOnCall ¶
func (fake *MongoDBStore) QueryCustomReturnsOnCall(i int, result1 mongodb.Iterator, result2 error)
func (*MongoDBStore) QueryReturns ¶
func (fake *MongoDBStore) QueryReturns(result1 storage.Iterator, result2 error)
func (*MongoDBStore) QueryReturnsOnCall ¶
func (fake *MongoDBStore) QueryReturnsOnCall(i int, result1 storage.Iterator, result2 error)
type Provider ¶
type Provider struct { CloseStub func() error GetOpenStoresStub func() []storage.Store GetStoreConfigStub func(string) (storage.StoreConfiguration, error) OpenStoreStub func(string) (storage.Store, error) SetStoreConfigStub func(string, storage.StoreConfiguration) error // contains filtered or unexported fields }
func (*Provider) CloseCallCount ¶
func (*Provider) CloseCalls ¶
func (*Provider) CloseReturns ¶
func (*Provider) CloseReturnsOnCall ¶
func (*Provider) GetOpenStores ¶
func (*Provider) GetOpenStoresCallCount ¶
func (*Provider) GetOpenStoresCalls ¶
func (*Provider) GetOpenStoresReturns ¶
func (*Provider) GetOpenStoresReturnsOnCall ¶
func (*Provider) GetStoreConfig ¶
func (fake *Provider) GetStoreConfig(arg1 string) (storage.StoreConfiguration, error)
func (*Provider) GetStoreConfigArgsForCall ¶
func (*Provider) GetStoreConfigCallCount ¶
func (*Provider) GetStoreConfigCalls ¶
func (fake *Provider) GetStoreConfigCalls(stub func(string) (storage.StoreConfiguration, error))
func (*Provider) GetStoreConfigReturns ¶
func (fake *Provider) GetStoreConfigReturns(result1 storage.StoreConfiguration, result2 error)
func (*Provider) GetStoreConfigReturnsOnCall ¶
func (fake *Provider) GetStoreConfigReturnsOnCall(i int, result1 storage.StoreConfiguration, result2 error)
func (*Provider) Invocations ¶
func (*Provider) OpenStoreArgsForCall ¶
func (*Provider) OpenStoreCallCount ¶
func (*Provider) OpenStoreCalls ¶
func (*Provider) OpenStoreReturns ¶
func (*Provider) OpenStoreReturnsOnCall ¶
func (*Provider) SetStoreConfig ¶
func (fake *Provider) SetStoreConfig(arg1 string, arg2 storage.StoreConfiguration) error
func (*Provider) SetStoreConfigArgsForCall ¶
func (fake *Provider) SetStoreConfigArgsForCall(i int) (string, storage.StoreConfiguration)
func (*Provider) SetStoreConfigCallCount ¶
func (*Provider) SetStoreConfigCalls ¶
func (fake *Provider) SetStoreConfigCalls(stub func(string, storage.StoreConfiguration) error)
func (*Provider) SetStoreConfigReturns ¶
func (*Provider) SetStoreConfigReturnsOnCall ¶
type Store ¶
type Store struct { BatchStub func([]storage.Operation) error CloseStub func() error DeleteStub func(string) error FlushStub func() error GetStub func(string) ([]byte, error) GetBulkStub func(...string) ([][]byte, error) GetTagsStub func(string) ([]storage.Tag, error) PutStub func(string, []byte, ...storage.Tag) error QueryStub func(string, ...storage.QueryOption) (storage.Iterator, error) // contains filtered or unexported fields }
func (*Store) BatchCallCount ¶
func (*Store) BatchReturns ¶
func (*Store) BatchReturnsOnCall ¶
func (*Store) CloseCallCount ¶
func (*Store) CloseCalls ¶
func (*Store) CloseReturns ¶
func (*Store) CloseReturnsOnCall ¶
func (*Store) DeleteArgsForCall ¶
func (*Store) DeleteCallCount ¶
func (*Store) DeleteCalls ¶
func (*Store) DeleteReturns ¶
func (*Store) DeleteReturnsOnCall ¶
func (*Store) FlushCallCount ¶
func (*Store) FlushCalls ¶
func (*Store) FlushReturns ¶
func (*Store) FlushReturnsOnCall ¶
func (*Store) GetArgsForCall ¶
func (*Store) GetBulkArgsForCall ¶
func (*Store) GetBulkCallCount ¶
func (*Store) GetBulkCalls ¶
func (*Store) GetBulkReturns ¶
func (*Store) GetBulkReturnsOnCall ¶
func (*Store) GetCallCount ¶
func (*Store) GetReturns ¶
func (*Store) GetReturnsOnCall ¶
func (*Store) GetTagsArgsForCall ¶
func (*Store) GetTagsCallCount ¶
func (*Store) GetTagsCalls ¶
func (*Store) GetTagsReturns ¶
func (*Store) GetTagsReturnsOnCall ¶
func (*Store) Invocations ¶
func (*Store) PutArgsForCall ¶
func (*Store) PutCallCount ¶
func (*Store) PutReturns ¶
func (*Store) PutReturnsOnCall ¶
func (*Store) QueryArgsForCall ¶
func (fake *Store) QueryArgsForCall(i int) (string, []storage.QueryOption)
func (*Store) QueryCallCount ¶
func (*Store) QueryCalls ¶
func (*Store) QueryReturns ¶
Click to show internal directories.
Click to hide internal directories.