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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Bucket
- func (fake *Bucket) Delete(arg1 context.Context, arg2 []byte) error
- func (fake *Bucket) DeleteArgsForCall(i int) (context.Context, []byte)
- func (fake *Bucket) DeleteCallCount() int
- func (fake *Bucket) DeleteCalls(stub func(context.Context, []byte) error)
- func (fake *Bucket) DeleteReturns(result1 error)
- func (fake *Bucket) DeleteReturnsOnCall(i int, result1 error)
- func (fake *Bucket) Get(arg1 context.Context, arg2 []byte) (kv.Item, error)
- func (fake *Bucket) GetArgsForCall(i int) (context.Context, []byte)
- func (fake *Bucket) GetCallCount() int
- func (fake *Bucket) GetCalls(stub func(context.Context, []byte) (kv.Item, error))
- func (fake *Bucket) GetReturns(result1 kv.Item, result2 error)
- func (fake *Bucket) GetReturnsOnCall(i int, result1 kv.Item, result2 error)
- func (fake *Bucket) Invocations() map[string][][]interface{}
- func (fake *Bucket) Iterator() kv.Iterator
- func (fake *Bucket) IteratorCallCount() int
- func (fake *Bucket) IteratorCalls(stub func() kv.Iterator)
- func (fake *Bucket) IteratorReturns(result1 kv.Iterator)
- func (fake *Bucket) IteratorReturnsOnCall(i int, result1 kv.Iterator)
- func (fake *Bucket) IteratorReverse() kv.Iterator
- func (fake *Bucket) IteratorReverseCallCount() int
- func (fake *Bucket) IteratorReverseCalls(stub func() kv.Iterator)
- func (fake *Bucket) IteratorReverseReturns(result1 kv.Iterator)
- func (fake *Bucket) IteratorReverseReturnsOnCall(i int, result1 kv.Iterator)
- func (fake *Bucket) Put(arg1 context.Context, arg2 []byte, arg3 []byte) error
- func (fake *Bucket) PutArgsForCall(i int) (context.Context, []byte, []byte)
- func (fake *Bucket) PutCallCount() int
- func (fake *Bucket) PutCalls(stub func(context.Context, []byte, []byte) error)
- func (fake *Bucket) PutReturns(result1 error)
- func (fake *Bucket) PutReturnsOnCall(i int, result1 error)
- type DB
- func (fake *DB) Close() error
- func (fake *DB) CloseCallCount() int
- func (fake *DB) CloseCalls(stub func() error)
- func (fake *DB) CloseReturns(result1 error)
- func (fake *DB) CloseReturnsOnCall(i int, result1 error)
- func (fake *DB) Invocations() map[string][][]interface{}
- func (fake *DB) Remove() error
- func (fake *DB) RemoveCallCount() int
- func (fake *DB) RemoveCalls(stub func() error)
- func (fake *DB) RemoveReturns(result1 error)
- func (fake *DB) RemoveReturnsOnCall(i int, result1 error)
- func (fake *DB) Sync() error
- func (fake *DB) SyncCallCount() int
- func (fake *DB) SyncCalls(stub func() error)
- func (fake *DB) SyncReturns(result1 error)
- func (fake *DB) SyncReturnsOnCall(i int, result1 error)
- func (fake *DB) Update(arg1 context.Context, arg2 func(ctx context.Context, tx kv.Tx) error) error
- func (fake *DB) UpdateArgsForCall(i int) (context.Context, func(ctx context.Context, tx kv.Tx) error)
- func (fake *DB) UpdateCallCount() int
- func (fake *DB) UpdateCalls(stub func(context.Context, func(ctx context.Context, tx kv.Tx) error) error)
- func (fake *DB) UpdateReturns(result1 error)
- func (fake *DB) UpdateReturnsOnCall(i int, result1 error)
- func (fake *DB) View(arg1 context.Context, arg2 func(ctx context.Context, tx kv.Tx) error) error
- func (fake *DB) ViewArgsForCall(i int) (context.Context, func(ctx context.Context, tx kv.Tx) error)
- func (fake *DB) ViewCallCount() int
- func (fake *DB) ViewCalls(stub func(context.Context, func(ctx context.Context, tx kv.Tx) error) error)
- func (fake *DB) ViewReturns(result1 error)
- func (fake *DB) ViewReturnsOnCall(i int, result1 error)
- type Item
- func (fake *Item) Exists() bool
- func (fake *Item) ExistsCallCount() int
- func (fake *Item) ExistsCalls(stub func() bool)
- func (fake *Item) ExistsReturns(result1 bool)
- func (fake *Item) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *Item) Invocations() map[string][][]interface{}
- func (fake *Item) Key() []byte
- func (fake *Item) KeyCallCount() int
- func (fake *Item) KeyCalls(stub func() []byte)
- func (fake *Item) KeyReturns(result1 []byte)
- func (fake *Item) KeyReturnsOnCall(i int, result1 []byte)
- func (fake *Item) Value(arg1 func(val []byte) error) error
- func (fake *Item) ValueArgsForCall(i int) func(val []byte) error
- func (fake *Item) ValueCallCount() int
- func (fake *Item) ValueCalls(stub func(func(val []byte) error) error)
- func (fake *Item) ValueReturns(result1 error)
- func (fake *Item) ValueReturnsOnCall(i int, result1 error)
- type Iterator
- func (fake *Iterator) Close()
- func (fake *Iterator) CloseCallCount() int
- func (fake *Iterator) CloseCalls(stub func())
- func (fake *Iterator) Invocations() map[string][][]interface{}
- func (fake *Iterator) Item() kv.Item
- func (fake *Iterator) ItemCallCount() int
- func (fake *Iterator) ItemCalls(stub func() kv.Item)
- func (fake *Iterator) ItemReturns(result1 kv.Item)
- func (fake *Iterator) ItemReturnsOnCall(i int, result1 kv.Item)
- func (fake *Iterator) Next()
- func (fake *Iterator) NextCallCount() int
- func (fake *Iterator) NextCalls(stub func())
- func (fake *Iterator) Rewind()
- func (fake *Iterator) RewindCallCount() int
- func (fake *Iterator) RewindCalls(stub func())
- func (fake *Iterator) Seek(arg1 []byte)
- func (fake *Iterator) SeekArgsForCall(i int) []byte
- func (fake *Iterator) SeekCallCount() int
- func (fake *Iterator) SeekCalls(stub func([]byte))
- func (fake *Iterator) Valid() bool
- func (fake *Iterator) ValidCallCount() int
- func (fake *Iterator) ValidCalls(stub func() bool)
- func (fake *Iterator) ValidReturns(result1 bool)
- func (fake *Iterator) ValidReturnsOnCall(i int, result1 bool)
- type JsonHandlerTx
- func (fake *JsonHandlerTx) Invocations() map[string][][]interface{}
- func (fake *JsonHandlerTx) ServeHTTP(arg1 context.Context, arg2 kv.Tx, arg3 *http.Request) (interface{}, error)
- func (fake *JsonHandlerTx) ServeHTTPArgsForCall(i int) (context.Context, kv.Tx, *http.Request)
- func (fake *JsonHandlerTx) ServeHTTPCallCount() int
- func (fake *JsonHandlerTx) ServeHTTPCalls(stub func(context.Context, kv.Tx, *http.Request) (interface{}, error))
- func (fake *JsonHandlerTx) ServeHTTPReturns(result1 interface{}, result2 error)
- func (fake *JsonHandlerTx) ServeHTTPReturnsOnCall(i int, result1 interface{}, result2 error)
- type Provider
- func (fake *Provider) Get(arg1 context.Context) (kv.DB, error)
- func (fake *Provider) GetArgsForCall(i int) context.Context
- func (fake *Provider) GetCallCount() int
- func (fake *Provider) GetCalls(stub func(context.Context) (kv.DB, error))
- func (fake *Provider) GetReturns(result1 kv.DB, result2 error)
- func (fake *Provider) GetReturnsOnCall(i int, result1 kv.DB, result2 error)
- func (fake *Provider) Invocations() map[string][][]interface{}
- type RelationStore
- func (fake *RelationStore) Add(arg1 context.Context, arg2 string, arg3 []string) error
- func (fake *RelationStore) AddArgsForCall(i int) (context.Context, string, []string)
- func (fake *RelationStore) AddCallCount() int
- func (fake *RelationStore) AddCalls(stub func(context.Context, string, []string) error)
- func (fake *RelationStore) AddReturns(result1 error)
- func (fake *RelationStore) AddReturnsOnCall(i int, result1 error)
- func (fake *RelationStore) Delete(arg1 context.Context, arg2 string) error
- func (fake *RelationStore) DeleteArgsForCall(i int) (context.Context, string)
- func (fake *RelationStore) DeleteCallCount() int
- func (fake *RelationStore) DeleteCalls(stub func(context.Context, string) error)
- func (fake *RelationStore) DeleteReturns(result1 error)
- func (fake *RelationStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *RelationStore) IDs(arg1 context.Context, arg2 string) ([]string, error)
- func (fake *RelationStore) IDsArgsForCall(i int) (context.Context, string)
- func (fake *RelationStore) IDsCallCount() int
- func (fake *RelationStore) IDsCalls(stub func(context.Context, string) ([]string, error))
- func (fake *RelationStore) IDsReturns(result1 []string, result2 error)
- func (fake *RelationStore) IDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *RelationStore) Invocations() map[string][][]interface{}
- func (fake *RelationStore) RelatedIDs(arg1 context.Context, arg2 string) ([]string, error)
- func (fake *RelationStore) RelatedIDsArgsForCall(i int) (context.Context, string)
- func (fake *RelationStore) RelatedIDsCallCount() int
- func (fake *RelationStore) RelatedIDsCalls(stub func(context.Context, string) ([]string, error))
- func (fake *RelationStore) RelatedIDsReturns(result1 []string, result2 error)
- func (fake *RelationStore) RelatedIDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *RelationStore) Remove(arg1 context.Context, arg2 string, arg3 []string) error
- func (fake *RelationStore) RemoveArgsForCall(i int) (context.Context, string, []string)
- func (fake *RelationStore) RemoveCallCount() int
- func (fake *RelationStore) RemoveCalls(stub func(context.Context, string, []string) error)
- func (fake *RelationStore) RemoveReturns(result1 error)
- func (fake *RelationStore) RemoveReturnsOnCall(i int, result1 error)
- func (fake *RelationStore) Replace(arg1 context.Context, arg2 string, arg3 []string) error
- func (fake *RelationStore) ReplaceArgsForCall(i int) (context.Context, string, []string)
- func (fake *RelationStore) ReplaceCallCount() int
- func (fake *RelationStore) ReplaceCalls(stub func(context.Context, string, []string) error)
- func (fake *RelationStore) ReplaceReturns(result1 error)
- func (fake *RelationStore) ReplaceReturnsOnCall(i int, result1 error)
- func (fake *RelationStore) StreamIDs(arg1 context.Context, arg2 chan<- string) error
- func (fake *RelationStore) StreamIDsArgsForCall(i int) (context.Context, chan<- string)
- func (fake *RelationStore) StreamIDsCallCount() int
- func (fake *RelationStore) StreamIDsCalls(stub func(context.Context, chan<- string) error)
- func (fake *RelationStore) StreamIDsReturns(result1 error)
- func (fake *RelationStore) StreamIDsReturnsOnCall(i int, result1 error)
- func (fake *RelationStore) StreamRelatedIDs(arg1 context.Context, arg2 chan<- string) error
- func (fake *RelationStore) StreamRelatedIDsArgsForCall(i int) (context.Context, chan<- string)
- func (fake *RelationStore) StreamRelatedIDsCallCount() int
- func (fake *RelationStore) StreamRelatedIDsCalls(stub func(context.Context, chan<- string) error)
- func (fake *RelationStore) StreamRelatedIDsReturns(result1 error)
- func (fake *RelationStore) StreamRelatedIDsReturnsOnCall(i int, result1 error)
- type RelationStoreTx
- func (fake *RelationStoreTx) Add(arg1 context.Context, arg2 kv.Tx, arg3 string, arg4 []string) error
- func (fake *RelationStoreTx) AddArgsForCall(i int) (context.Context, kv.Tx, string, []string)
- func (fake *RelationStoreTx) AddCallCount() int
- func (fake *RelationStoreTx) AddCalls(stub func(context.Context, kv.Tx, string, []string) error)
- func (fake *RelationStoreTx) AddReturns(result1 error)
- func (fake *RelationStoreTx) AddReturnsOnCall(i int, result1 error)
- func (fake *RelationStoreTx) Delete(arg1 context.Context, arg2 kv.Tx, arg3 string) error
- func (fake *RelationStoreTx) DeleteArgsForCall(i int) (context.Context, kv.Tx, string)
- func (fake *RelationStoreTx) DeleteCallCount() int
- func (fake *RelationStoreTx) DeleteCalls(stub func(context.Context, kv.Tx, string) error)
- func (fake *RelationStoreTx) DeleteReturns(result1 error)
- func (fake *RelationStoreTx) DeleteReturnsOnCall(i int, result1 error)
- func (fake *RelationStoreTx) IDs(arg1 context.Context, arg2 kv.Tx, arg3 string) ([]string, error)
- func (fake *RelationStoreTx) IDsArgsForCall(i int) (context.Context, kv.Tx, string)
- func (fake *RelationStoreTx) IDsCallCount() int
- func (fake *RelationStoreTx) IDsCalls(stub func(context.Context, kv.Tx, string) ([]string, error))
- func (fake *RelationStoreTx) IDsReturns(result1 []string, result2 error)
- func (fake *RelationStoreTx) IDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *RelationStoreTx) Invocations() map[string][][]interface{}
- func (fake *RelationStoreTx) RelatedIDs(arg1 context.Context, arg2 kv.Tx, arg3 string) ([]string, error)
- func (fake *RelationStoreTx) RelatedIDsArgsForCall(i int) (context.Context, kv.Tx, string)
- func (fake *RelationStoreTx) RelatedIDsCallCount() int
- func (fake *RelationStoreTx) RelatedIDsCalls(stub func(context.Context, kv.Tx, string) ([]string, error))
- func (fake *RelationStoreTx) RelatedIDsReturns(result1 []string, result2 error)
- func (fake *RelationStoreTx) RelatedIDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *RelationStoreTx) Remove(arg1 context.Context, arg2 kv.Tx, arg3 string, arg4 []string) error
- func (fake *RelationStoreTx) RemoveArgsForCall(i int) (context.Context, kv.Tx, string, []string)
- func (fake *RelationStoreTx) RemoveCallCount() int
- func (fake *RelationStoreTx) RemoveCalls(stub func(context.Context, kv.Tx, string, []string) error)
- func (fake *RelationStoreTx) RemoveReturns(result1 error)
- func (fake *RelationStoreTx) RemoveReturnsOnCall(i int, result1 error)
- func (fake *RelationStoreTx) Replace(arg1 context.Context, arg2 kv.Tx, arg3 string, arg4 []string) error
- func (fake *RelationStoreTx) ReplaceArgsForCall(i int) (context.Context, kv.Tx, string, []string)
- func (fake *RelationStoreTx) ReplaceCallCount() int
- func (fake *RelationStoreTx) ReplaceCalls(stub func(context.Context, kv.Tx, string, []string) error)
- func (fake *RelationStoreTx) ReplaceReturns(result1 error)
- func (fake *RelationStoreTx) ReplaceReturnsOnCall(i int, result1 error)
- func (fake *RelationStoreTx) StreamIDs(arg1 context.Context, arg2 kv.Tx, arg3 chan<- string) error
- func (fake *RelationStoreTx) StreamIDsArgsForCall(i int) (context.Context, kv.Tx, chan<- string)
- func (fake *RelationStoreTx) StreamIDsCallCount() int
- func (fake *RelationStoreTx) StreamIDsCalls(stub func(context.Context, kv.Tx, chan<- string) error)
- func (fake *RelationStoreTx) StreamIDsReturns(result1 error)
- func (fake *RelationStoreTx) StreamIDsReturnsOnCall(i int, result1 error)
- func (fake *RelationStoreTx) StreamRelatedIDs(arg1 context.Context, arg2 kv.Tx, arg3 chan<- string) error
- func (fake *RelationStoreTx) StreamRelatedIDsArgsForCall(i int) (context.Context, kv.Tx, chan<- string)
- func (fake *RelationStoreTx) StreamRelatedIDsCallCount() int
- func (fake *RelationStoreTx) StreamRelatedIDsCalls(stub func(context.Context, kv.Tx, chan<- string) error)
- func (fake *RelationStoreTx) StreamRelatedIDsReturns(result1 error)
- func (fake *RelationStoreTx) StreamRelatedIDsReturnsOnCall(i int, result1 error)
- type Tx
- func (fake *Tx) Bucket(arg1 context.Context, arg2 kv.BucketName) (kv.Bucket, error)
- func (fake *Tx) BucketArgsForCall(i int) (context.Context, kv.BucketName)
- func (fake *Tx) BucketCallCount() int
- func (fake *Tx) BucketCalls(stub func(context.Context, kv.BucketName) (kv.Bucket, error))
- func (fake *Tx) BucketReturns(result1 kv.Bucket, result2 error)
- func (fake *Tx) BucketReturnsOnCall(i int, result1 kv.Bucket, result2 error)
- func (fake *Tx) CreateBucket(arg1 context.Context, arg2 kv.BucketName) (kv.Bucket, error)
- func (fake *Tx) CreateBucketArgsForCall(i int) (context.Context, kv.BucketName)
- func (fake *Tx) CreateBucketCallCount() int
- func (fake *Tx) CreateBucketCalls(stub func(context.Context, kv.BucketName) (kv.Bucket, error))
- func (fake *Tx) CreateBucketIfNotExists(arg1 context.Context, arg2 kv.BucketName) (kv.Bucket, error)
- func (fake *Tx) CreateBucketIfNotExistsArgsForCall(i int) (context.Context, kv.BucketName)
- func (fake *Tx) CreateBucketIfNotExistsCallCount() int
- func (fake *Tx) CreateBucketIfNotExistsCalls(stub func(context.Context, kv.BucketName) (kv.Bucket, error))
- func (fake *Tx) CreateBucketIfNotExistsReturns(result1 kv.Bucket, result2 error)
- func (fake *Tx) CreateBucketIfNotExistsReturnsOnCall(i int, result1 kv.Bucket, result2 error)
- func (fake *Tx) CreateBucketReturns(result1 kv.Bucket, result2 error)
- func (fake *Tx) CreateBucketReturnsOnCall(i int, result1 kv.Bucket, result2 error)
- func (fake *Tx) DeleteBucket(arg1 context.Context, arg2 kv.BucketName) error
- func (fake *Tx) DeleteBucketArgsForCall(i int) (context.Context, kv.BucketName)
- func (fake *Tx) DeleteBucketCallCount() int
- func (fake *Tx) DeleteBucketCalls(stub func(context.Context, kv.BucketName) error)
- func (fake *Tx) DeleteBucketReturns(result1 error)
- func (fake *Tx) DeleteBucketReturnsOnCall(i int, result1 error)
- func (fake *Tx) Invocations() map[string][][]interface{}
- func (fake *Tx) ListBucketNames(arg1 context.Context) (kv.BucketNames, error)
- func (fake *Tx) ListBucketNamesArgsForCall(i int) context.Context
- func (fake *Tx) ListBucketNamesCallCount() int
- func (fake *Tx) ListBucketNamesCalls(stub func(context.Context) (kv.BucketNames, error))
- func (fake *Tx) ListBucketNamesReturns(result1 kv.BucketNames, result2 error)
- func (fake *Tx) ListBucketNamesReturnsOnCall(i int, result1 kv.BucketNames, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
DeleteStub func(context.Context, []byte) error
GetStub func(context.Context, []byte) (kv.Item, error)
IteratorStub func() kv.Iterator
IteratorReverseStub func() kv.Iterator
PutStub func(context.Context, []byte, []byte) error
// contains filtered or unexported fields
}
func (*Bucket) DeleteArgsForCall ¶
func (*Bucket) DeleteCallCount ¶
func (*Bucket) DeleteCalls ¶
func (*Bucket) DeleteReturns ¶
func (*Bucket) DeleteReturnsOnCall ¶
func (*Bucket) GetCallCount ¶
func (*Bucket) GetReturnsOnCall ¶
func (*Bucket) Invocations ¶
func (*Bucket) IteratorCallCount ¶
func (*Bucket) IteratorCalls ¶
func (*Bucket) IteratorReturns ¶
func (*Bucket) IteratorReturnsOnCall ¶
func (*Bucket) IteratorReverse ¶
func (*Bucket) IteratorReverseCallCount ¶
func (*Bucket) IteratorReverseCalls ¶
func (*Bucket) IteratorReverseReturns ¶
func (*Bucket) IteratorReverseReturnsOnCall ¶
func (*Bucket) PutArgsForCall ¶
func (*Bucket) PutCallCount ¶
func (*Bucket) PutReturns ¶
func (*Bucket) PutReturnsOnCall ¶
type DB ¶
type DB struct {
CloseStub func() error
RemoveStub func() error
SyncStub func() error
UpdateStub func(context.Context, func(ctx context.Context, tx kv.Tx) error) error
ViewStub func(context.Context, func(ctx context.Context, tx kv.Tx) error) error
// contains filtered or unexported fields
}
func (*DB) CloseCallCount ¶
func (*DB) CloseCalls ¶
func (*DB) CloseReturns ¶
func (*DB) CloseReturnsOnCall ¶
func (*DB) Invocations ¶
func (*DB) RemoveCallCount ¶
func (*DB) RemoveCalls ¶
func (*DB) RemoveReturns ¶
func (*DB) RemoveReturnsOnCall ¶
func (*DB) SyncCallCount ¶
func (*DB) SyncReturns ¶
func (*DB) SyncReturnsOnCall ¶
func (*DB) UpdateArgsForCall ¶
func (*DB) UpdateCallCount ¶
func (*DB) UpdateCalls ¶
func (*DB) UpdateReturns ¶
func (*DB) UpdateReturnsOnCall ¶
func (*DB) ViewArgsForCall ¶
func (*DB) ViewCallCount ¶
func (*DB) ViewReturns ¶
func (*DB) ViewReturnsOnCall ¶
type Item ¶
type Item struct {
ExistsStub func() bool
KeyStub func() []byte
ValueStub func(func(val []byte) error) error
// contains filtered or unexported fields
}
func (*Item) ExistsCallCount ¶
func (*Item) ExistsCalls ¶
func (*Item) ExistsReturns ¶
func (*Item) ExistsReturnsOnCall ¶
func (*Item) Invocations ¶
func (*Item) KeyCallCount ¶
func (*Item) KeyReturns ¶
func (*Item) KeyReturnsOnCall ¶
func (*Item) ValueCallCount ¶
func (*Item) ValueReturns ¶
func (*Item) ValueReturnsOnCall ¶
type Iterator ¶
type Iterator struct {
CloseStub func()
ItemStub func() kv.Item
NextStub func()
RewindStub func()
SeekStub func([]byte)
ValidStub func() bool
// contains filtered or unexported fields
}
func (*Iterator) CloseCallCount ¶
func (*Iterator) CloseCalls ¶
func (fake *Iterator) CloseCalls(stub func())
func (*Iterator) Invocations ¶
func (*Iterator) ItemCallCount ¶
func (*Iterator) ItemReturns ¶
func (*Iterator) ItemReturnsOnCall ¶
func (*Iterator) NextCallCount ¶
func (*Iterator) RewindCallCount ¶
func (*Iterator) RewindCalls ¶
func (fake *Iterator) RewindCalls(stub func())
func (*Iterator) SeekArgsForCall ¶
func (*Iterator) SeekCallCount ¶
func (*Iterator) ValidCallCount ¶
func (*Iterator) ValidCalls ¶
func (*Iterator) ValidReturns ¶
func (*Iterator) ValidReturnsOnCall ¶
type JsonHandlerTx ¶
type JsonHandlerTx struct {
ServeHTTPStub func(context.Context, kv.Tx, *http.Request) (interface{}, error)
// contains filtered or unexported fields
}
func (*JsonHandlerTx) Invocations ¶
func (fake *JsonHandlerTx) Invocations() map[string][][]interface{}
func (*JsonHandlerTx) ServeHTTPArgsForCall ¶
func (*JsonHandlerTx) ServeHTTPCallCount ¶
func (fake *JsonHandlerTx) ServeHTTPCallCount() int
func (*JsonHandlerTx) ServeHTTPCalls ¶
func (*JsonHandlerTx) ServeHTTPReturns ¶
func (fake *JsonHandlerTx) ServeHTTPReturns(result1 interface{}, result2 error)
func (*JsonHandlerTx) ServeHTTPReturnsOnCall ¶
func (fake *JsonHandlerTx) ServeHTTPReturnsOnCall(i int, result1 interface{}, result2 error)
type Provider ¶
type Provider struct {
GetStub func(context.Context) (kv.DB, error)
// contains filtered or unexported fields
}
func (*Provider) GetCallCount ¶
func (*Provider) GetReturnsOnCall ¶
func (*Provider) Invocations ¶
type RelationStore ¶
type RelationStore struct {
AddStub func(context.Context, string, []string) error
DeleteStub func(context.Context, string) error
IDsStub func(context.Context, string) ([]string, error)
RelatedIDsStub func(context.Context, string) ([]string, error)
RemoveStub func(context.Context, string, []string) error
ReplaceStub func(context.Context, string, []string) error
StreamIDsStub func(context.Context, chan<- string) error
StreamRelatedIDsStub func(context.Context, chan<- string) error
// contains filtered or unexported fields
}
func (*RelationStore) AddArgsForCall ¶
func (*RelationStore) AddCallCount ¶
func (fake *RelationStore) AddCallCount() int
func (*RelationStore) AddReturns ¶
func (fake *RelationStore) AddReturns(result1 error)
func (*RelationStore) AddReturnsOnCall ¶
func (fake *RelationStore) AddReturnsOnCall(i int, result1 error)
func (*RelationStore) Delete ¶
func (fake *RelationStore) Delete(arg1 context.Context, arg2 string) error
func (*RelationStore) DeleteArgsForCall ¶
func (fake *RelationStore) DeleteArgsForCall(i int) (context.Context, string)
func (*RelationStore) DeleteCallCount ¶
func (fake *RelationStore) DeleteCallCount() int
func (*RelationStore) DeleteCalls ¶
func (fake *RelationStore) DeleteCalls(stub func(context.Context, string) error)
func (*RelationStore) DeleteReturns ¶
func (fake *RelationStore) DeleteReturns(result1 error)
func (*RelationStore) DeleteReturnsOnCall ¶
func (fake *RelationStore) DeleteReturnsOnCall(i int, result1 error)
func (*RelationStore) IDsArgsForCall ¶
func (fake *RelationStore) IDsArgsForCall(i int) (context.Context, string)
func (*RelationStore) IDsCallCount ¶
func (fake *RelationStore) IDsCallCount() int
func (*RelationStore) IDsReturns ¶
func (fake *RelationStore) IDsReturns(result1 []string, result2 error)
func (*RelationStore) IDsReturnsOnCall ¶
func (fake *RelationStore) IDsReturnsOnCall(i int, result1 []string, result2 error)
func (*RelationStore) Invocations ¶
func (fake *RelationStore) Invocations() map[string][][]interface{}
func (*RelationStore) RelatedIDs ¶
func (*RelationStore) RelatedIDsArgsForCall ¶
func (fake *RelationStore) RelatedIDsArgsForCall(i int) (context.Context, string)
func (*RelationStore) RelatedIDsCallCount ¶
func (fake *RelationStore) RelatedIDsCallCount() int
func (*RelationStore) RelatedIDsCalls ¶
func (*RelationStore) RelatedIDsReturns ¶
func (fake *RelationStore) RelatedIDsReturns(result1 []string, result2 error)
func (*RelationStore) RelatedIDsReturnsOnCall ¶
func (fake *RelationStore) RelatedIDsReturnsOnCall(i int, result1 []string, result2 error)
func (*RelationStore) RemoveArgsForCall ¶
func (*RelationStore) RemoveCallCount ¶
func (fake *RelationStore) RemoveCallCount() int
func (*RelationStore) RemoveCalls ¶
func (*RelationStore) RemoveReturns ¶
func (fake *RelationStore) RemoveReturns(result1 error)
func (*RelationStore) RemoveReturnsOnCall ¶
func (fake *RelationStore) RemoveReturnsOnCall(i int, result1 error)
func (*RelationStore) ReplaceArgsForCall ¶
func (*RelationStore) ReplaceCallCount ¶
func (fake *RelationStore) ReplaceCallCount() int
func (*RelationStore) ReplaceCalls ¶
func (*RelationStore) ReplaceReturns ¶
func (fake *RelationStore) ReplaceReturns(result1 error)
func (*RelationStore) ReplaceReturnsOnCall ¶
func (fake *RelationStore) ReplaceReturnsOnCall(i int, result1 error)
func (*RelationStore) StreamIDs ¶
func (fake *RelationStore) StreamIDs(arg1 context.Context, arg2 chan<- string) error
func (*RelationStore) StreamIDsArgsForCall ¶
func (fake *RelationStore) StreamIDsArgsForCall(i int) (context.Context, chan<- string)
func (*RelationStore) StreamIDsCallCount ¶
func (fake *RelationStore) StreamIDsCallCount() int
func (*RelationStore) StreamIDsCalls ¶
func (fake *RelationStore) StreamIDsCalls(stub func(context.Context, chan<- string) error)
func (*RelationStore) StreamIDsReturns ¶
func (fake *RelationStore) StreamIDsReturns(result1 error)
func (*RelationStore) StreamIDsReturnsOnCall ¶
func (fake *RelationStore) StreamIDsReturnsOnCall(i int, result1 error)
func (*RelationStore) StreamRelatedIDs ¶
func (fake *RelationStore) StreamRelatedIDs(arg1 context.Context, arg2 chan<- string) error
func (*RelationStore) StreamRelatedIDsArgsForCall ¶
func (fake *RelationStore) StreamRelatedIDsArgsForCall(i int) (context.Context, chan<- string)
func (*RelationStore) StreamRelatedIDsCallCount ¶
func (fake *RelationStore) StreamRelatedIDsCallCount() int
func (*RelationStore) StreamRelatedIDsCalls ¶
func (fake *RelationStore) StreamRelatedIDsCalls(stub func(context.Context, chan<- string) error)
func (*RelationStore) StreamRelatedIDsReturns ¶
func (fake *RelationStore) StreamRelatedIDsReturns(result1 error)
func (*RelationStore) StreamRelatedIDsReturnsOnCall ¶
func (fake *RelationStore) StreamRelatedIDsReturnsOnCall(i int, result1 error)
type RelationStoreTx ¶
type RelationStoreTx struct {
AddStub func(context.Context, kv.Tx, string, []string) error
DeleteStub func(context.Context, kv.Tx, string) error
IDsStub func(context.Context, kv.Tx, string) ([]string, error)
RelatedIDsStub func(context.Context, kv.Tx, string) ([]string, error)
RemoveStub func(context.Context, kv.Tx, string, []string) error
ReplaceStub func(context.Context, kv.Tx, string, []string) error
StreamIDsStub func(context.Context, kv.Tx, chan<- string) error
StreamRelatedIDsStub func(context.Context, kv.Tx, chan<- string) error
// contains filtered or unexported fields
}
func (*RelationStoreTx) AddArgsForCall ¶
func (*RelationStoreTx) AddCallCount ¶
func (fake *RelationStoreTx) AddCallCount() int
func (*RelationStoreTx) AddReturns ¶
func (fake *RelationStoreTx) AddReturns(result1 error)
func (*RelationStoreTx) AddReturnsOnCall ¶
func (fake *RelationStoreTx) AddReturnsOnCall(i int, result1 error)
func (*RelationStoreTx) DeleteArgsForCall ¶
func (*RelationStoreTx) DeleteCallCount ¶
func (fake *RelationStoreTx) DeleteCallCount() int
func (*RelationStoreTx) DeleteCalls ¶
func (*RelationStoreTx) DeleteReturns ¶
func (fake *RelationStoreTx) DeleteReturns(result1 error)
func (*RelationStoreTx) DeleteReturnsOnCall ¶
func (fake *RelationStoreTx) DeleteReturnsOnCall(i int, result1 error)
func (*RelationStoreTx) IDsArgsForCall ¶
func (*RelationStoreTx) IDsCallCount ¶
func (fake *RelationStoreTx) IDsCallCount() int
func (*RelationStoreTx) IDsReturns ¶
func (fake *RelationStoreTx) IDsReturns(result1 []string, result2 error)
func (*RelationStoreTx) IDsReturnsOnCall ¶
func (fake *RelationStoreTx) IDsReturnsOnCall(i int, result1 []string, result2 error)
func (*RelationStoreTx) Invocations ¶
func (fake *RelationStoreTx) Invocations() map[string][][]interface{}
func (*RelationStoreTx) RelatedIDs ¶
func (*RelationStoreTx) RelatedIDsArgsForCall ¶
func (*RelationStoreTx) RelatedIDsCallCount ¶
func (fake *RelationStoreTx) RelatedIDsCallCount() int
func (*RelationStoreTx) RelatedIDsCalls ¶
func (*RelationStoreTx) RelatedIDsReturns ¶
func (fake *RelationStoreTx) RelatedIDsReturns(result1 []string, result2 error)
func (*RelationStoreTx) RelatedIDsReturnsOnCall ¶
func (fake *RelationStoreTx) RelatedIDsReturnsOnCall(i int, result1 []string, result2 error)
func (*RelationStoreTx) RemoveArgsForCall ¶
func (*RelationStoreTx) RemoveCallCount ¶
func (fake *RelationStoreTx) RemoveCallCount() int
func (*RelationStoreTx) RemoveCalls ¶
func (*RelationStoreTx) RemoveReturns ¶
func (fake *RelationStoreTx) RemoveReturns(result1 error)
func (*RelationStoreTx) RemoveReturnsOnCall ¶
func (fake *RelationStoreTx) RemoveReturnsOnCall(i int, result1 error)
func (*RelationStoreTx) ReplaceArgsForCall ¶
func (*RelationStoreTx) ReplaceCallCount ¶
func (fake *RelationStoreTx) ReplaceCallCount() int
func (*RelationStoreTx) ReplaceCalls ¶
func (*RelationStoreTx) ReplaceReturns ¶
func (fake *RelationStoreTx) ReplaceReturns(result1 error)
func (*RelationStoreTx) ReplaceReturnsOnCall ¶
func (fake *RelationStoreTx) ReplaceReturnsOnCall(i int, result1 error)
func (*RelationStoreTx) StreamIDsArgsForCall ¶
func (*RelationStoreTx) StreamIDsCallCount ¶
func (fake *RelationStoreTx) StreamIDsCallCount() int
func (*RelationStoreTx) StreamIDsCalls ¶
func (*RelationStoreTx) StreamIDsReturns ¶
func (fake *RelationStoreTx) StreamIDsReturns(result1 error)
func (*RelationStoreTx) StreamIDsReturnsOnCall ¶
func (fake *RelationStoreTx) StreamIDsReturnsOnCall(i int, result1 error)
func (*RelationStoreTx) StreamRelatedIDs ¶
func (*RelationStoreTx) StreamRelatedIDsArgsForCall ¶
func (*RelationStoreTx) StreamRelatedIDsCallCount ¶
func (fake *RelationStoreTx) StreamRelatedIDsCallCount() int
func (*RelationStoreTx) StreamRelatedIDsCalls ¶
func (*RelationStoreTx) StreamRelatedIDsReturns ¶
func (fake *RelationStoreTx) StreamRelatedIDsReturns(result1 error)
func (*RelationStoreTx) StreamRelatedIDsReturnsOnCall ¶
func (fake *RelationStoreTx) StreamRelatedIDsReturnsOnCall(i int, result1 error)
type Tx ¶
type Tx struct {
BucketStub func(context.Context, kv.BucketName) (kv.Bucket, error)
CreateBucketStub func(context.Context, kv.BucketName) (kv.Bucket, error)
CreateBucketIfNotExistsStub func(context.Context, kv.BucketName) (kv.Bucket, error)
DeleteBucketStub func(context.Context, kv.BucketName) error
ListBucketNamesStub func(context.Context) (kv.BucketNames, error)
// contains filtered or unexported fields
}
func (*Tx) BucketArgsForCall ¶
func (*Tx) BucketCallCount ¶
func (*Tx) BucketCalls ¶
func (*Tx) BucketReturnsOnCall ¶
func (*Tx) CreateBucket ¶
func (*Tx) CreateBucketArgsForCall ¶
func (*Tx) CreateBucketCallCount ¶
func (*Tx) CreateBucketCalls ¶
func (*Tx) CreateBucketIfNotExists ¶
func (*Tx) CreateBucketIfNotExistsArgsForCall ¶
func (*Tx) CreateBucketIfNotExistsCallCount ¶
func (*Tx) CreateBucketIfNotExistsCalls ¶
func (*Tx) CreateBucketIfNotExistsReturns ¶
func (*Tx) CreateBucketIfNotExistsReturnsOnCall ¶
func (*Tx) CreateBucketReturns ¶
func (*Tx) CreateBucketReturnsOnCall ¶
func (*Tx) DeleteBucket ¶
func (*Tx) DeleteBucketArgsForCall ¶
func (*Tx) DeleteBucketCallCount ¶
func (*Tx) DeleteBucketCalls ¶
func (*Tx) DeleteBucketReturns ¶
func (*Tx) DeleteBucketReturnsOnCall ¶
func (*Tx) Invocations ¶
func (*Tx) ListBucketNames ¶
func (*Tx) ListBucketNamesArgsForCall ¶
func (*Tx) ListBucketNamesCallCount ¶
func (*Tx) ListBucketNamesCalls ¶
func (*Tx) ListBucketNamesReturns ¶
func (fake *Tx) ListBucketNamesReturns(result1 kv.BucketNames, result2 error)
func (*Tx) ListBucketNamesReturnsOnCall ¶
func (fake *Tx) ListBucketNamesReturnsOnCall(i int, result1 kv.BucketNames, result2 error)
Click to show internal directories.
Click to hide internal directories.