mocks

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aerospike

type Aerospike struct {
	mock.Mock
}

Aerospike is an autogenerated mock type for the Aerospike type

func NewAerospike

func NewAerospike(t NewAerospikeT) *Aerospike

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

func (*Aerospike) Close

func (_m *Aerospike) Close()

Close provides a mock function with given fields:

func (*Aerospike) Info

func (_m *Aerospike) Info() (map[string]string, error)

Info provides a mock function with given fields:

func (*Aerospike) NamespaceInfo

func (_m *Aerospike) NamespaceInfo(namespace string) (map[string]string, error)

NamespaceInfo provides a mock function with given fields: namespace

type NewAerospikeT

type NewAerospikeT interface {
	mock.TestingT
	Cleanup(func())
}

Jump to

Keyboard shortcuts

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