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 ¶ added in v0.1.2
func (*Iterator) TotalItemsCallCount ¶ added in v0.1.2
func (*Iterator) TotalItemsCalls ¶ added in v0.1.2
func (*Iterator) TotalItemsReturns ¶ added in v0.1.2
func (*Iterator) TotalItemsReturnsOnCall ¶ added in v0.1.2
func (*Iterator) ValueCallCount ¶
func (*Iterator) ValueCalls ¶
func (*Iterator) ValueReturns ¶
type MongoDBIterator ¶ added in v1.0.0
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 ¶ added in v1.0.0
func (fake *MongoDBIterator) Close() error
func (*MongoDBIterator) CloseCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) CloseCallCount() int
func (*MongoDBIterator) CloseCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) CloseCalls(stub func() error)
func (*MongoDBIterator) CloseReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) CloseReturns(result1 error)
func (*MongoDBIterator) CloseReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) CloseReturnsOnCall(i int, result1 error)
func (*MongoDBIterator) Invocations ¶ added in v1.0.0
func (fake *MongoDBIterator) Invocations() map[string][][]interface{}
func (*MongoDBIterator) Key ¶ added in v1.0.0
func (fake *MongoDBIterator) Key() (string, error)
func (*MongoDBIterator) KeyCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) KeyCallCount() int
func (*MongoDBIterator) KeyCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) KeyCalls(stub func() (string, error))
func (*MongoDBIterator) KeyReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) KeyReturns(result1 string, result2 error)
func (*MongoDBIterator) KeyReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) KeyReturnsOnCall(i int, result1 string, result2 error)
func (*MongoDBIterator) Next ¶ added in v1.0.0
func (fake *MongoDBIterator) Next() (bool, error)
func (*MongoDBIterator) NextCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) NextCallCount() int
func (*MongoDBIterator) NextCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) NextCalls(stub func() (bool, error))
func (*MongoDBIterator) NextReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) NextReturns(result1 bool, result2 error)
func (*MongoDBIterator) NextReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) NextReturnsOnCall(i int, result1 bool, result2 error)
func (*MongoDBIterator) Tags ¶ added in v1.0.0
func (fake *MongoDBIterator) Tags() ([]storage.Tag, error)
func (*MongoDBIterator) TagsCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) TagsCallCount() int
func (*MongoDBIterator) TagsCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) TagsCalls(stub func() ([]storage.Tag, error))
func (*MongoDBIterator) TagsReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) TagsReturns(result1 []storage.Tag, result2 error)
func (*MongoDBIterator) TagsReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) TagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
func (*MongoDBIterator) TotalItems ¶ added in v1.0.0
func (fake *MongoDBIterator) TotalItems() (int, error)
func (*MongoDBIterator) TotalItemsCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) TotalItemsCallCount() int
func (*MongoDBIterator) TotalItemsCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) TotalItemsCalls(stub func() (int, error))
func (*MongoDBIterator) TotalItemsReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) TotalItemsReturns(result1 int, result2 error)
func (*MongoDBIterator) TotalItemsReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) TotalItemsReturnsOnCall(i int, result1 int, result2 error)
func (*MongoDBIterator) Value ¶ added in v1.0.0
func (fake *MongoDBIterator) Value() ([]byte, error)
func (*MongoDBIterator) ValueAsRawMap ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueAsRawMap() (map[string]interface{}, error)
func (*MongoDBIterator) ValueAsRawMapCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueAsRawMapCallCount() int
func (*MongoDBIterator) ValueAsRawMapCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueAsRawMapCalls(stub func() (map[string]interface{}, error))
func (*MongoDBIterator) ValueAsRawMapReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueAsRawMapReturns(result1 map[string]interface{}, result2 error)
func (*MongoDBIterator) ValueAsRawMapReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueAsRawMapReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
func (*MongoDBIterator) ValueCallCount ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueCallCount() int
func (*MongoDBIterator) ValueCalls ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueCalls(stub func() ([]byte, error))
func (*MongoDBIterator) ValueReturns ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueReturns(result1 []byte, result2 error)
func (*MongoDBIterator) ValueReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBIterator) ValueReturnsOnCall(i int, result1 []byte, result2 error)
type MongoDBProvider ¶ added in v1.0.0
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 ¶ added in v1.0.0
func (fake *MongoDBProvider) Close() error
func (*MongoDBProvider) CloseCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) CloseCallCount() int
func (*MongoDBProvider) CloseCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) CloseCalls(stub func() error)
func (*MongoDBProvider) CloseReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) CloseReturns(result1 error)
func (*MongoDBProvider) CloseReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) CloseReturnsOnCall(i int, result1 error)
func (*MongoDBProvider) CreateCustomIndexes ¶ added in v1.0.0
func (fake *MongoDBProvider) CreateCustomIndexes(arg1 string, arg2 ...mongo.IndexModel) error
func (*MongoDBProvider) CreateCustomIndexesArgsForCall ¶ added in v1.0.0
func (fake *MongoDBProvider) CreateCustomIndexesArgsForCall(i int) (string, []mongo.IndexModel)
func (*MongoDBProvider) CreateCustomIndexesCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) CreateCustomIndexesCallCount() int
func (*MongoDBProvider) CreateCustomIndexesCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) CreateCustomIndexesCalls(stub func(string, ...mongo.IndexModel) error)
func (*MongoDBProvider) CreateCustomIndexesReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) CreateCustomIndexesReturns(result1 error)
func (*MongoDBProvider) CreateCustomIndexesReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) CreateCustomIndexesReturnsOnCall(i int, result1 error)
func (*MongoDBProvider) GetOpenStores ¶ added in v1.0.0
func (fake *MongoDBProvider) GetOpenStores() []storage.Store
func (*MongoDBProvider) GetOpenStoresCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) GetOpenStoresCallCount() int
func (*MongoDBProvider) GetOpenStoresCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) GetOpenStoresCalls(stub func() []storage.Store)
func (*MongoDBProvider) GetOpenStoresReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) GetOpenStoresReturns(result1 []storage.Store)
func (*MongoDBProvider) GetOpenStoresReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) GetOpenStoresReturnsOnCall(i int, result1 []storage.Store)
func (*MongoDBProvider) GetStoreConfig ¶ added in v1.0.0
func (fake *MongoDBProvider) GetStoreConfig(arg1 string) (storage.StoreConfiguration, error)
func (*MongoDBProvider) GetStoreConfigArgsForCall ¶ added in v1.0.0
func (fake *MongoDBProvider) GetStoreConfigArgsForCall(i int) string
func (*MongoDBProvider) GetStoreConfigCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) GetStoreConfigCallCount() int
func (*MongoDBProvider) GetStoreConfigCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) GetStoreConfigCalls(stub func(string) (storage.StoreConfiguration, error))
func (*MongoDBProvider) GetStoreConfigReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) GetStoreConfigReturns(result1 storage.StoreConfiguration, result2 error)
func (*MongoDBProvider) GetStoreConfigReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) GetStoreConfigReturnsOnCall(i int, result1 storage.StoreConfiguration, result2 error)
func (*MongoDBProvider) Invocations ¶ added in v1.0.0
func (fake *MongoDBProvider) Invocations() map[string][][]interface{}
func (*MongoDBProvider) OpenStore ¶ added in v1.0.0
func (fake *MongoDBProvider) OpenStore(arg1 string) (storage.Store, error)
func (*MongoDBProvider) OpenStoreArgsForCall ¶ added in v1.0.0
func (fake *MongoDBProvider) OpenStoreArgsForCall(i int) string
func (*MongoDBProvider) OpenStoreCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) OpenStoreCallCount() int
func (*MongoDBProvider) OpenStoreCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) OpenStoreCalls(stub func(string) (storage.Store, error))
func (*MongoDBProvider) OpenStoreReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) OpenStoreReturns(result1 storage.Store, result2 error)
func (*MongoDBProvider) OpenStoreReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) OpenStoreReturnsOnCall(i int, result1 storage.Store, result2 error)
func (*MongoDBProvider) Ping ¶ added in v1.0.0
func (fake *MongoDBProvider) Ping() error
func (*MongoDBProvider) PingCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) PingCallCount() int
func (*MongoDBProvider) PingCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) PingCalls(stub func() error)
func (*MongoDBProvider) PingReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) PingReturns(result1 error)
func (*MongoDBProvider) PingReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) PingReturnsOnCall(i int, result1 error)
func (*MongoDBProvider) SetStoreConfig ¶ added in v1.0.0
func (fake *MongoDBProvider) SetStoreConfig(arg1 string, arg2 storage.StoreConfiguration) error
func (*MongoDBProvider) SetStoreConfigArgsForCall ¶ added in v1.0.0
func (fake *MongoDBProvider) SetStoreConfigArgsForCall(i int) (string, storage.StoreConfiguration)
func (*MongoDBProvider) SetStoreConfigCallCount ¶ added in v1.0.0
func (fake *MongoDBProvider) SetStoreConfigCallCount() int
func (*MongoDBProvider) SetStoreConfigCalls ¶ added in v1.0.0
func (fake *MongoDBProvider) SetStoreConfigCalls(stub func(string, storage.StoreConfiguration) error)
func (*MongoDBProvider) SetStoreConfigReturns ¶ added in v1.0.0
func (fake *MongoDBProvider) SetStoreConfigReturns(result1 error)
func (*MongoDBProvider) SetStoreConfigReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBProvider) SetStoreConfigReturnsOnCall(i int, result1 error)
type MongoDBStore ¶ added in v1.0.0
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) Batch ¶ added in v1.0.0
func (fake *MongoDBStore) Batch(arg1 []storage.Operation) error
func (*MongoDBStore) BatchArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) BatchArgsForCall(i int) []storage.Operation
func (*MongoDBStore) BatchCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) BatchCallCount() int
func (*MongoDBStore) BatchCalls ¶ added in v1.0.0
func (fake *MongoDBStore) BatchCalls(stub func([]storage.Operation) error)
func (*MongoDBStore) BatchReturns ¶ added in v1.0.0
func (fake *MongoDBStore) BatchReturns(result1 error)
func (*MongoDBStore) BatchReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) BatchReturnsOnCall(i int, result1 error)
func (*MongoDBStore) BulkWrite ¶ added in v1.0.0
func (fake *MongoDBStore) BulkWrite(arg1 []mongo.WriteModel, arg2 ...*options.BulkWriteOptions) error
func (*MongoDBStore) BulkWriteArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) BulkWriteArgsForCall(i int) ([]mongo.WriteModel, []*options.BulkWriteOptions)
func (*MongoDBStore) BulkWriteCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) BulkWriteCallCount() int
func (*MongoDBStore) BulkWriteCalls ¶ added in v1.0.0
func (fake *MongoDBStore) BulkWriteCalls(stub func([]mongo.WriteModel, ...*options.BulkWriteOptions) error)
func (*MongoDBStore) BulkWriteReturns ¶ added in v1.0.0
func (fake *MongoDBStore) BulkWriteReturns(result1 error)
func (*MongoDBStore) BulkWriteReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) BulkWriteReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Close ¶ added in v1.0.0
func (fake *MongoDBStore) Close() error
func (*MongoDBStore) CloseCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) CloseCallCount() int
func (*MongoDBStore) CloseCalls ¶ added in v1.0.0
func (fake *MongoDBStore) CloseCalls(stub func() error)
func (*MongoDBStore) CloseReturns ¶ added in v1.0.0
func (fake *MongoDBStore) CloseReturns(result1 error)
func (*MongoDBStore) CloseReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) CloseReturnsOnCall(i int, result1 error)
func (*MongoDBStore) CreateMongoDBFindOptions ¶ added in v1.0.0
func (fake *MongoDBStore) CreateMongoDBFindOptions(arg1 []storage.QueryOption, arg2 bool) *options.FindOptions
func (*MongoDBStore) CreateMongoDBFindOptionsArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) CreateMongoDBFindOptionsArgsForCall(i int) ([]storage.QueryOption, bool)
func (*MongoDBStore) CreateMongoDBFindOptionsCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) CreateMongoDBFindOptionsCallCount() int
func (*MongoDBStore) CreateMongoDBFindOptionsCalls ¶ added in v1.0.0
func (fake *MongoDBStore) CreateMongoDBFindOptionsCalls(stub func([]storage.QueryOption, bool) *options.FindOptions)
func (*MongoDBStore) CreateMongoDBFindOptionsReturns ¶ added in v1.0.0
func (fake *MongoDBStore) CreateMongoDBFindOptionsReturns(result1 *options.FindOptions)
func (*MongoDBStore) CreateMongoDBFindOptionsReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) CreateMongoDBFindOptionsReturnsOnCall(i int, result1 *options.FindOptions)
func (*MongoDBStore) Delete ¶ added in v1.0.0
func (fake *MongoDBStore) Delete(arg1 string) error
func (*MongoDBStore) DeleteArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) DeleteArgsForCall(i int) string
func (*MongoDBStore) DeleteCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) DeleteCallCount() int
func (*MongoDBStore) DeleteCalls ¶ added in v1.0.0
func (fake *MongoDBStore) DeleteCalls(stub func(string) error)
func (*MongoDBStore) DeleteReturns ¶ added in v1.0.0
func (fake *MongoDBStore) DeleteReturns(result1 error)
func (*MongoDBStore) DeleteReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) DeleteReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Flush ¶ added in v1.0.0
func (fake *MongoDBStore) Flush() error
func (*MongoDBStore) FlushCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) FlushCallCount() int
func (*MongoDBStore) FlushCalls ¶ added in v1.0.0
func (fake *MongoDBStore) FlushCalls(stub func() error)
func (*MongoDBStore) FlushReturns ¶ added in v1.0.0
func (fake *MongoDBStore) FlushReturns(result1 error)
func (*MongoDBStore) FlushReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) FlushReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Get ¶ added in v1.0.0
func (fake *MongoDBStore) Get(arg1 string) ([]byte, error)
func (*MongoDBStore) GetArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetArgsForCall(i int) string
func (*MongoDBStore) GetAsRawMap ¶ added in v1.0.0
func (fake *MongoDBStore) GetAsRawMap(arg1 string) (map[string]interface{}, error)
func (*MongoDBStore) GetAsRawMapArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetAsRawMapArgsForCall(i int) string
func (*MongoDBStore) GetAsRawMapCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) GetAsRawMapCallCount() int
func (*MongoDBStore) GetAsRawMapCalls ¶ added in v1.0.0
func (fake *MongoDBStore) GetAsRawMapCalls(stub func(string) (map[string]interface{}, error))
func (*MongoDBStore) GetAsRawMapReturns ¶ added in v1.0.0
func (fake *MongoDBStore) GetAsRawMapReturns(result1 map[string]interface{}, result2 error)
func (*MongoDBStore) GetAsRawMapReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetAsRawMapReturnsOnCall(i int, result1 map[string]interface{}, result2 error)
func (*MongoDBStore) GetBulk ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulk(arg1 ...string) ([][]byte, error)
func (*MongoDBStore) GetBulkArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkArgsForCall(i int) []string
func (*MongoDBStore) GetBulkAsRawMap ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkAsRawMap(arg1 ...string) ([]map[string]interface{}, error)
func (*MongoDBStore) GetBulkAsRawMapArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkAsRawMapArgsForCall(i int) []string
func (*MongoDBStore) GetBulkAsRawMapCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkAsRawMapCallCount() int
func (*MongoDBStore) GetBulkAsRawMapCalls ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkAsRawMapCalls(stub func(...string) ([]map[string]interface{}, error))
func (*MongoDBStore) GetBulkAsRawMapReturns ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkAsRawMapReturns(result1 []map[string]interface{}, result2 error)
func (*MongoDBStore) GetBulkAsRawMapReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkAsRawMapReturnsOnCall(i int, result1 []map[string]interface{}, result2 error)
func (*MongoDBStore) GetBulkCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkCallCount() int
func (*MongoDBStore) GetBulkCalls ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkCalls(stub func(...string) ([][]byte, error))
func (*MongoDBStore) GetBulkReturns ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkReturns(result1 [][]byte, result2 error)
func (*MongoDBStore) GetBulkReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetBulkReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*MongoDBStore) GetCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) GetCallCount() int
func (*MongoDBStore) GetCalls ¶ added in v1.0.0
func (fake *MongoDBStore) GetCalls(stub func(string) ([]byte, error))
func (*MongoDBStore) GetReturns ¶ added in v1.0.0
func (fake *MongoDBStore) GetReturns(result1 []byte, result2 error)
func (*MongoDBStore) GetReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetReturnsOnCall(i int, result1 []byte, result2 error)
func (*MongoDBStore) GetTags ¶ added in v1.0.0
func (fake *MongoDBStore) GetTags(arg1 string) ([]storage.Tag, error)
func (*MongoDBStore) GetTagsArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetTagsArgsForCall(i int) string
func (*MongoDBStore) GetTagsCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) GetTagsCallCount() int
func (*MongoDBStore) GetTagsCalls ¶ added in v1.0.0
func (fake *MongoDBStore) GetTagsCalls(stub func(string) ([]storage.Tag, error))
func (*MongoDBStore) GetTagsReturns ¶ added in v1.0.0
func (fake *MongoDBStore) GetTagsReturns(result1 []storage.Tag, result2 error)
func (*MongoDBStore) GetTagsReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) GetTagsReturnsOnCall(i int, result1 []storage.Tag, result2 error)
func (*MongoDBStore) Invocations ¶ added in v1.0.0
func (fake *MongoDBStore) Invocations() map[string][][]interface{}
func (*MongoDBStore) PutArgsForCall ¶ added in v1.0.0
func (*MongoDBStore) PutAsJSON ¶ added in v1.0.0
func (fake *MongoDBStore) PutAsJSON(arg1 string, arg2 interface{}) error
func (*MongoDBStore) PutAsJSONArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) PutAsJSONArgsForCall(i int) (string, interface{})
func (*MongoDBStore) PutAsJSONCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) PutAsJSONCallCount() int
func (*MongoDBStore) PutAsJSONCalls ¶ added in v1.0.0
func (fake *MongoDBStore) PutAsJSONCalls(stub func(string, interface{}) error)
func (*MongoDBStore) PutAsJSONReturns ¶ added in v1.0.0
func (fake *MongoDBStore) PutAsJSONReturns(result1 error)
func (*MongoDBStore) PutAsJSONReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) PutAsJSONReturnsOnCall(i int, result1 error)
func (*MongoDBStore) PutCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) PutCallCount() int
func (*MongoDBStore) PutReturns ¶ added in v1.0.0
func (fake *MongoDBStore) PutReturns(result1 error)
func (*MongoDBStore) PutReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) PutReturnsOnCall(i int, result1 error)
func (*MongoDBStore) Query ¶ added in v1.0.0
func (fake *MongoDBStore) Query(arg1 string, arg2 ...storage.QueryOption) (storage.Iterator, error)
func (*MongoDBStore) QueryArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) QueryArgsForCall(i int) (string, []storage.QueryOption)
func (*MongoDBStore) QueryCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCallCount() int
func (*MongoDBStore) QueryCalls ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCalls(stub func(string, ...storage.QueryOption) (storage.Iterator, error))
func (*MongoDBStore) QueryCustom ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCustom(arg1 interface{}, arg2 ...*options.FindOptions) (mongodb.Iterator, error)
func (*MongoDBStore) QueryCustomArgsForCall ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCustomArgsForCall(i int) (interface{}, []*options.FindOptions)
func (*MongoDBStore) QueryCustomCallCount ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCustomCallCount() int
func (*MongoDBStore) QueryCustomCalls ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCustomCalls(stub func(interface{}, ...*options.FindOptions) (mongodb.Iterator, error))
func (*MongoDBStore) QueryCustomReturns ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCustomReturns(result1 mongodb.Iterator, result2 error)
func (*MongoDBStore) QueryCustomReturnsOnCall ¶ added in v1.0.0
func (fake *MongoDBStore) QueryCustomReturnsOnCall(i int, result1 mongodb.Iterator, result2 error)
func (*MongoDBStore) QueryReturns ¶ added in v1.0.0
func (fake *MongoDBStore) QueryReturns(result1 storage.Iterator, result2 error)
func (*MongoDBStore) QueryReturnsOnCall ¶ added in v1.0.0
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.