Documentation ¶
Index ¶
- type Tarantool
- func (Tarantool) Call(conn *multi.ConnectionMulti, fnName string, args interface{}) (*tarantool.Response, error)
- func (Tarantool) Call17(conn *multi.ConnectionMulti, fnName string, args interface{}) (*tarantool.Response, error)
- func (Tarantool) CallAsyncNoReturn(conn *multi.ConnectionMulti, fnName string, args interface{})
- func (Tarantool) Connect(addrs []string, opts tarantool.Opts) (*multi.ConnectionMulti, error)
- func (Tarantool) Delete(conn *multi.ConnectionMulti, space, index, key interface{}) (*tarantool.Response, error)
- func (Tarantool) Eval(conn *multi.ConnectionMulti, expr string, args interface{}) (*tarantool.Response, error)
- func (Tarantool) Insert(conn *multi.ConnectionMulti, space, data interface{}) (*tarantool.Response, error)
- func (Tarantool) Replace(conn *multi.ConnectionMulti, space, data interface{}) (*tarantool.Response, error)
- func (Tarantool) ResolveCallFutures()
- func (Tarantool) Select(conn *multi.ConnectionMulti, space, index interface{}, ...) (*tarantool.Response, error)
- func (Tarantool) Update(conn *multi.ConnectionMulti, space, index, key, ops interface{}) (*tarantool.Response, error)
- func (Tarantool) Upsert(conn *multi.ConnectionMulti, space, tuple, ops interface{}) (*tarantool.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tarantool ¶
type Tarantool struct{}
Tarantool is the k6 Tarantool extension
func (Tarantool) Call ¶
func (Tarantool) Call(conn *multi.ConnectionMulti, fnName string, args interface{}) (*tarantool.Response, error)
Call calls registered tarantool function
func (Tarantool) Call17 ¶
func (Tarantool) Call17(conn *multi.ConnectionMulti, fnName string, args interface{}) (*tarantool.Response, error)
Call17 calls registered tarantool function
func (Tarantool) CallAsyncNoReturn ¶
func (Tarantool) CallAsyncNoReturn(conn *multi.ConnectionMulti, fnName string, args interface{})
func (Tarantool) Connect ¶
func (Tarantool) Connect(addrs []string, opts tarantool.Opts) (*multi.ConnectionMulti, error)
Connect creates a new Tarantool connection
func (Tarantool) Delete ¶
func (Tarantool) Delete(conn *multi.ConnectionMulti, space, index, key interface{}) (*tarantool.Response, error)
Delete performs deletion of a tuple by key
func (Tarantool) Eval ¶
func (Tarantool) Eval(conn *multi.ConnectionMulti, expr string, args interface{}) (*tarantool.Response, error)
Eval passes lua expression for evaluation
func (Tarantool) Insert ¶
func (Tarantool) Insert(conn *multi.ConnectionMulti, space, data interface{}) (*tarantool.Response, error)
Insert performs insertion to box.space
func (Tarantool) Replace ¶
func (Tarantool) Replace(conn *multi.ConnectionMulti, space, data interface{}) (*tarantool.Response, error)
Replace performs "insert or replace" action to box.space
func (Tarantool) ResolveCallFutures ¶
func (Tarantool) ResolveCallFutures()
func (Tarantool) Select ¶
func (Tarantool) Select(conn *multi.ConnectionMulti, space, index interface{}, offset, limit, iterator uint32, key interface{}) (*tarantool.Response, error)
Select performs select to box.space
Click to show internal directories.
Click to hide internal directories.