Documentation
¶
Index ¶
- type MockaerospikeClient
- type MockaerospikeClient_Cluster_Call
- func (_c *MockaerospikeClient_Cluster_Call) Return(_a0 *aerospike.Cluster) *MockaerospikeClient_Cluster_Call
- func (_c *MockaerospikeClient_Cluster_Call) Run(run func()) *MockaerospikeClient_Cluster_Call
- func (_c *MockaerospikeClient_Cluster_Call) RunAndReturn(run func() *aerospike.Cluster) *MockaerospikeClient_Cluster_Call
- type MockaerospikeClient_Expecter
- type MockinfoGetter
- type MockinfoGetter_Expecter
- type MockinfoGetter_RequestInfo_Call
- func (_c *MockinfoGetter_RequestInfo_Call) Return(_a0 map[string]string, _a1 aerospike.Error) *MockinfoGetter_RequestInfo_Call
- func (_c *MockinfoGetter_RequestInfo_Call) Run(run func(infoPolicy *aerospike.InfoPolicy, commands ...string)) *MockinfoGetter_RequestInfo_Call
- func (_c *MockinfoGetter_RequestInfo_Call) RunAndReturn(...) *MockinfoGetter_RequestInfo_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockaerospikeClient ¶
MockaerospikeClient is an autogenerated mock type for the aerospikeClient type
func NewMockaerospikeClient ¶
func NewMockaerospikeClient(t interface { mock.TestingT Cleanup(func()) }) *MockaerospikeClient
NewMockaerospikeClient creates a new instance of MockaerospikeClient. 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 (*MockaerospikeClient) Cluster ¶
func (_m *MockaerospikeClient) Cluster() *aerospike.Cluster
Cluster provides a mock function with given fields:
func (*MockaerospikeClient) EXPECT ¶
func (_m *MockaerospikeClient) EXPECT() *MockaerospikeClient_Expecter
type MockaerospikeClient_Cluster_Call ¶
MockaerospikeClient_Cluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cluster'
func (*MockaerospikeClient_Cluster_Call) Return ¶
func (_c *MockaerospikeClient_Cluster_Call) Return(_a0 *aerospike.Cluster) *MockaerospikeClient_Cluster_Call
func (*MockaerospikeClient_Cluster_Call) Run ¶
func (_c *MockaerospikeClient_Cluster_Call) Run(run func()) *MockaerospikeClient_Cluster_Call
func (*MockaerospikeClient_Cluster_Call) RunAndReturn ¶
func (_c *MockaerospikeClient_Cluster_Call) RunAndReturn(run func() *aerospike.Cluster) *MockaerospikeClient_Cluster_Call
type MockaerospikeClient_Expecter ¶
type MockaerospikeClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockaerospikeClient_Expecter) Cluster ¶
func (_e *MockaerospikeClient_Expecter) Cluster() *MockaerospikeClient_Cluster_Call
Cluster is a helper method to define mock.On call
type MockinfoGetter ¶
MockinfoGetter is an autogenerated mock type for the infoGetter type
func NewMockinfoGetter ¶
func NewMockinfoGetter(t interface { mock.TestingT Cleanup(func()) }) *MockinfoGetter
NewMockinfoGetter creates a new instance of MockinfoGetter. 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 (*MockinfoGetter) EXPECT ¶
func (_m *MockinfoGetter) EXPECT() *MockinfoGetter_Expecter
func (*MockinfoGetter) RequestInfo ¶
func (_m *MockinfoGetter) RequestInfo(infoPolicy *aerospike.InfoPolicy, commands ...string) (map[string]string, aerospike.Error)
RequestInfo provides a mock function with given fields: infoPolicy, commands
type MockinfoGetter_Expecter ¶
type MockinfoGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*MockinfoGetter_Expecter) RequestInfo ¶
func (_e *MockinfoGetter_Expecter) RequestInfo(infoPolicy interface{}, commands ...interface{}) *MockinfoGetter_RequestInfo_Call
RequestInfo is a helper method to define mock.On call
- infoPolicy *aerospike.InfoPolicy
- commands ...string
type MockinfoGetter_RequestInfo_Call ¶
MockinfoGetter_RequestInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestInfo'
func (*MockinfoGetter_RequestInfo_Call) Return ¶
func (_c *MockinfoGetter_RequestInfo_Call) Return(_a0 map[string]string, _a1 aerospike.Error) *MockinfoGetter_RequestInfo_Call
func (*MockinfoGetter_RequestInfo_Call) Run ¶
func (_c *MockinfoGetter_RequestInfo_Call) Run(run func(infoPolicy *aerospike.InfoPolicy, commands ...string)) *MockinfoGetter_RequestInfo_Call
func (*MockinfoGetter_RequestInfo_Call) RunAndReturn ¶
func (_c *MockinfoGetter_RequestInfo_Call) RunAndReturn(run func(*aerospike.InfoPolicy, ...string) (map[string]string, aerospike.Error)) *MockinfoGetter_RequestInfo_Call