Documentation ¶
Index ¶
- type Pool
- func (_m *Pool) Add(ctx context.Context, instance pool.Instance) error
- func (_m *Pool) Call(functionName string, args interface{}, mode pool.Mode) ([]interface{}, error)
- func (_m *Pool) Call16(functionName string, args interface{}, mode pool.Mode) ([]interface{}, error)
- func (_m *Pool) Call16Async(functionName string, args interface{}, mode pool.Mode) *tarantool.Future
- func (_m *Pool) Call16Typed(functionName string, args interface{}, result interface{}, mode pool.Mode) error
- func (_m *Pool) Call17(functionName string, args interface{}, mode pool.Mode) ([]interface{}, error)
- func (_m *Pool) Call17Async(functionName string, args interface{}, mode pool.Mode) *tarantool.Future
- func (_m *Pool) Call17Typed(functionName string, args interface{}, result interface{}, mode pool.Mode) error
- func (_m *Pool) CallAsync(functionName string, args interface{}, mode pool.Mode) *tarantool.Future
- func (_m *Pool) CallTyped(functionName string, args interface{}, result interface{}, mode pool.Mode) error
- func (_m *Pool) Close() []error
- func (_m *Pool) CloseGraceful() []error
- func (_m *Pool) ConfiguredTimeout(mode pool.Mode) (time.Duration, error)
- func (_m *Pool) ConnectedNow(mode pool.Mode) (bool, error)
- func (_m *Pool) Delete(space interface{}, index interface{}, key interface{}, mode ...pool.Mode) ([]interface{}, error)
- func (_m *Pool) DeleteAsync(space interface{}, index interface{}, key interface{}, mode ...pool.Mode) *tarantool.Future
- func (_m *Pool) DeleteTyped(space interface{}, index interface{}, key interface{}, result interface{}, ...) error
- func (_m *Pool) Do(req tarantool.Request, mode pool.Mode) *tarantool.Future
- func (_m *Pool) Eval(expr string, args interface{}, mode pool.Mode) ([]interface{}, error)
- func (_m *Pool) EvalAsync(expr string, args interface{}, mode pool.Mode) *tarantool.Future
- func (_m *Pool) EvalTyped(expr string, args interface{}, result interface{}, mode pool.Mode) error
- func (_m *Pool) Execute(expr string, args interface{}, mode pool.Mode) ([]interface{}, error)
- func (_m *Pool) ExecuteAsync(expr string, args interface{}, mode pool.Mode) *tarantool.Future
- func (_m *Pool) ExecuteTyped(expr string, args interface{}, result interface{}, mode pool.Mode) (tarantool.SQLInfo, []tarantool.ColumnMetaData, error)
- func (_m *Pool) GetTyped(space interface{}, index interface{}, key interface{}, result interface{}, ...) error
- func (_m *Pool) Insert(space interface{}, tuple interface{}, mode ...pool.Mode) ([]interface{}, error)
- func (_m *Pool) InsertAsync(space interface{}, tuple interface{}, mode ...pool.Mode) *tarantool.Future
- func (_m *Pool) InsertTyped(space interface{}, tuple interface{}, result interface{}, mode ...pool.Mode) error
- func (_m *Pool) NewPrepared(expr string, mode pool.Mode) (*tarantool.Prepared, error)
- func (_m *Pool) NewStream(mode pool.Mode) (*tarantool.Stream, error)
- func (_m *Pool) NewWatcher(key string, callback tarantool.WatchCallback, mode pool.Mode) (tarantool.Watcher, error)
- func (_m *Pool) Ping(mode pool.Mode) ([]interface{}, error)
- func (_m *Pool) Remove(name string) error
- func (_m *Pool) Replace(space interface{}, tuple interface{}, mode ...pool.Mode) ([]interface{}, error)
- func (_m *Pool) ReplaceAsync(space interface{}, tuple interface{}, mode ...pool.Mode) *tarantool.Future
- func (_m *Pool) ReplaceTyped(space interface{}, tuple interface{}, result interface{}, mode ...pool.Mode) error
- func (_m *Pool) Select(space interface{}, index interface{}, offset uint32, limit uint32, ...) ([]interface{}, error)
- func (_m *Pool) SelectAsync(space interface{}, index interface{}, offset uint32, limit uint32, ...) *tarantool.Future
- func (_m *Pool) SelectTyped(space interface{}, index interface{}, offset uint32, limit uint32, ...) error
- func (_m *Pool) Update(space interface{}, index interface{}, key interface{}, ...) ([]interface{}, error)
- func (_m *Pool) UpdateAsync(space interface{}, index interface{}, key interface{}, ...) *tarantool.Future
- func (_m *Pool) UpdateTyped(space interface{}, index interface{}, key interface{}, ...) error
- func (_m *Pool) Upsert(space interface{}, tuple interface{}, ops *tarantool.Operations, ...) ([]interface{}, error)
- func (_m *Pool) UpsertAsync(space interface{}, tuple interface{}, ops *tarantool.Operations, ...) *tarantool.Future
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
Pool is an autogenerated mock type for the Pool type
func NewPool ¶
NewPool creates a new instance of Pool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Pool) Call16 ¶
func (_m *Pool) Call16(functionName string, args interface{}, mode pool.Mode) ([]interface{}, error)
Call16 provides a mock function with given fields: functionName, args, mode
func (*Pool) Call16Async ¶
func (_m *Pool) Call16Async(functionName string, args interface{}, mode pool.Mode) *tarantool.Future
Call16Async provides a mock function with given fields: functionName, args, mode
func (*Pool) Call16Typed ¶
func (_m *Pool) Call16Typed(functionName string, args interface{}, result interface{}, mode pool.Mode) error
Call16Typed provides a mock function with given fields: functionName, args, result, mode
func (*Pool) Call17 ¶
func (_m *Pool) Call17(functionName string, args interface{}, mode pool.Mode) ([]interface{}, error)
Call17 provides a mock function with given fields: functionName, args, mode
func (*Pool) Call17Async ¶
func (_m *Pool) Call17Async(functionName string, args interface{}, mode pool.Mode) *tarantool.Future
Call17Async provides a mock function with given fields: functionName, args, mode
func (*Pool) Call17Typed ¶
func (_m *Pool) Call17Typed(functionName string, args interface{}, result interface{}, mode pool.Mode) error
Call17Typed provides a mock function with given fields: functionName, args, result, mode
func (*Pool) CallAsync ¶
CallAsync provides a mock function with given fields: functionName, args, mode
func (*Pool) CallTyped ¶
func (_m *Pool) CallTyped(functionName string, args interface{}, result interface{}, mode pool.Mode) error
CallTyped provides a mock function with given fields: functionName, args, result, mode
func (*Pool) CloseGraceful ¶
CloseGraceful provides a mock function with given fields:
func (*Pool) ConfiguredTimeout ¶
ConfiguredTimeout provides a mock function with given fields: mode
func (*Pool) ConnectedNow ¶
ConnectedNow provides a mock function with given fields: mode
func (*Pool) Delete ¶
func (_m *Pool) Delete(space interface{}, index interface{}, key interface{}, mode ...pool.Mode) ([]interface{}, error)
Delete provides a mock function with given fields: space, index, key, mode
func (*Pool) DeleteAsync ¶
func (_m *Pool) DeleteAsync(space interface{}, index interface{}, key interface{}, mode ...pool.Mode) *tarantool.Future
DeleteAsync provides a mock function with given fields: space, index, key, mode
func (*Pool) DeleteTyped ¶
func (_m *Pool) DeleteTyped(space interface{}, index interface{}, key interface{}, result interface{}, mode ...pool.Mode) error
DeleteTyped provides a mock function with given fields: space, index, key, result, mode
func (*Pool) EvalTyped ¶
EvalTyped provides a mock function with given fields: expr, args, result, mode
func (*Pool) ExecuteAsync ¶
ExecuteAsync provides a mock function with given fields: expr, args, mode
func (*Pool) ExecuteTyped ¶
func (_m *Pool) ExecuteTyped(expr string, args interface{}, result interface{}, mode pool.Mode) (tarantool.SQLInfo, []tarantool.ColumnMetaData, error)
ExecuteTyped provides a mock function with given fields: expr, args, result, mode
func (*Pool) GetTyped ¶
func (_m *Pool) GetTyped(space interface{}, index interface{}, key interface{}, result interface{}, mode ...pool.Mode) error
GetTyped provides a mock function with given fields: space, index, key, result, mode
func (*Pool) Insert ¶
func (_m *Pool) Insert(space interface{}, tuple interface{}, mode ...pool.Mode) ([]interface{}, error)
Insert provides a mock function with given fields: space, tuple, mode
func (*Pool) InsertAsync ¶
func (_m *Pool) InsertAsync(space interface{}, tuple interface{}, mode ...pool.Mode) *tarantool.Future
InsertAsync provides a mock function with given fields: space, tuple, mode
func (*Pool) InsertTyped ¶
func (_m *Pool) InsertTyped(space interface{}, tuple interface{}, result interface{}, mode ...pool.Mode) error
InsertTyped provides a mock function with given fields: space, tuple, result, mode
func (*Pool) NewPrepared ¶
NewPrepared provides a mock function with given fields: expr, mode
func (*Pool) NewWatcher ¶
func (_m *Pool) NewWatcher(key string, callback tarantool.WatchCallback, mode pool.Mode) (tarantool.Watcher, error)
NewWatcher provides a mock function with given fields: key, callback, mode
func (*Pool) Replace ¶
func (_m *Pool) Replace(space interface{}, tuple interface{}, mode ...pool.Mode) ([]interface{}, error)
Replace provides a mock function with given fields: space, tuple, mode
func (*Pool) ReplaceAsync ¶
func (_m *Pool) ReplaceAsync(space interface{}, tuple interface{}, mode ...pool.Mode) *tarantool.Future
ReplaceAsync provides a mock function with given fields: space, tuple, mode
func (*Pool) ReplaceTyped ¶
func (_m *Pool) ReplaceTyped(space interface{}, tuple interface{}, result interface{}, mode ...pool.Mode) error
ReplaceTyped provides a mock function with given fields: space, tuple, result, mode
func (*Pool) Select ¶
func (_m *Pool) Select(space interface{}, index interface{}, offset uint32, limit uint32, iterator tarantool.Iter, key interface{}, mode ...pool.Mode) ([]interface{}, error)
Select provides a mock function with given fields: space, index, offset, limit, iterator, key, mode
func (*Pool) SelectAsync ¶
func (_m *Pool) SelectAsync(space interface{}, index interface{}, offset uint32, limit uint32, iterator tarantool.Iter, key interface{}, mode ...pool.Mode) *tarantool.Future
SelectAsync provides a mock function with given fields: space, index, offset, limit, iterator, key, mode
func (*Pool) SelectTyped ¶
func (_m *Pool) SelectTyped(space interface{}, index interface{}, offset uint32, limit uint32, iterator tarantool.Iter, key interface{}, result interface{}, mode ...pool.Mode) error
SelectTyped provides a mock function with given fields: space, index, offset, limit, iterator, key, result, mode
func (*Pool) Update ¶
func (_m *Pool) Update(space interface{}, index interface{}, key interface{}, ops *tarantool.Operations, mode ...pool.Mode) ([]interface{}, error)
Update provides a mock function with given fields: space, index, key, ops, mode
func (*Pool) UpdateAsync ¶
func (_m *Pool) UpdateAsync(space interface{}, index interface{}, key interface{}, ops *tarantool.Operations, mode ...pool.Mode) *tarantool.Future
UpdateAsync provides a mock function with given fields: space, index, key, ops, mode
func (*Pool) UpdateTyped ¶
func (_m *Pool) UpdateTyped(space interface{}, index interface{}, key interface{}, ops *tarantool.Operations, result interface{}, mode ...pool.Mode) error
UpdateTyped provides a mock function with given fields: space, index, key, ops, result, mode
func (*Pool) Upsert ¶
func (_m *Pool) Upsert(space interface{}, tuple interface{}, ops *tarantool.Operations, mode ...pool.Mode) ([]interface{}, error)
Upsert provides a mock function with given fields: space, tuple, ops, mode
func (*Pool) UpsertAsync ¶
func (_m *Pool) UpsertAsync(space interface{}, tuple interface{}, ops *tarantool.Operations, mode ...pool.Mode) *tarantool.Future
UpsertAsync provides a mock function with given fields: space, tuple, ops, mode