mocks

package
v0.108.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asclient

type Asclient struct {
	mock.Mock
}

Asclient is an autogenerated mock type for the asclient type

func NewAsclient

func NewAsclient(t mockConstructorTestingTNewAsclient) *Asclient

NewAsclient creates a new instance of Asclient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Asclient) Close

func (_m *Asclient) Close()

Close provides a mock function with given fields:

func (*Asclient) GetNodes

func (_m *Asclient) GetNodes() []*aerospike.Node

GetNodes provides a mock function with given fields:

type Asconn

type Asconn struct {
	mock.Mock
}

Asconn is an autogenerated mock type for the asconn type

func NewAsconn

func NewAsconn(t mockConstructorTestingTNewAsconn) *Asconn

NewAsconn creates a new instance of Asconn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Asconn) Close

func (_m *Asconn) Close()

Close provides a mock function with given fields:

func (*Asconn) Login

func (_m *Asconn) Login(_a0 *aerospike.ClientPolicy) aerospike.Error

Login provides a mock function with given fields: _a0

func (*Asconn) RequestInfo

func (_m *Asconn) RequestInfo(_a0 ...string) (map[string]string, aerospike.Error)

RequestInfo provides a mock function with given fields: _a0

func (*Asconn) SetTimeout

func (_m *Asconn) SetTimeout(_a0 time.Time, _a1 time.Duration) aerospike.Error

SetTimeout provides a mock function with given fields: _a0, _a1

type Node

type Node struct {
	mock.Mock
}

Node is an autogenerated mock type for the Node type

func NewNode

func NewNode(t mockConstructorTestingTNewNode) *Node

NewNode creates a new instance of Node. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Node) Close

func (_m *Node) Close()

Close provides a mock function with given fields:

func (*Node) GetName

func (_m *Node) GetName() string

GetName provides a mock function with given fields:

func (*Node) RequestInfo

func (_m *Node) RequestInfo(_a0 *aerospike.InfoPolicy, _a1 ...string) (map[string]string, aerospike.Error)

RequestInfo provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL