Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockConfigurer
- func (m *MockConfigurer) AddBucket(arg0, arg1 string) (*gocb.Bucket, error)
- func (m *MockConfigurer) Bucket(arg0 string) *gocb.Bucket
- func (m *MockConfigurer) Close(arg0 string) error
- func (m *MockConfigurer) CloseAll() error
- func (m *MockConfigurer) Cluster() *gocb.Cluster
- func (m *MockConfigurer) EXPECT() *MockConfigurerMockRecorder
- func (m *MockConfigurer) Open() error
- func (m *MockConfigurer) Operator(arg0 string) (tcb.Operator, error)
- type MockConfigurerMockRecorder
- func (mr *MockConfigurerMockRecorder) AddBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigurerMockRecorder) Bucket(arg0 interface{}) *gomock.Call
- func (mr *MockConfigurerMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockConfigurerMockRecorder) CloseAll() *gomock.Call
- func (mr *MockConfigurerMockRecorder) Cluster() *gomock.Call
- func (mr *MockConfigurerMockRecorder) Open() *gomock.Call
- func (mr *MockConfigurerMockRecorder) Operator(arg0 interface{}) *gomock.Call
- type MockCouchBaseAdapter
- func (m *MockCouchBaseAdapter) AddBucket(arg0, arg1 string) (*gocb.Bucket, error)
- func (m *MockCouchBaseAdapter) Bucket(arg0 string) *gocb.Bucket
- func (m *MockCouchBaseAdapter) Close(arg0 string) error
- func (m *MockCouchBaseAdapter) CloseAll() error
- func (m *MockCouchBaseAdapter) Cluster() *gocb.Cluster
- func (m *MockCouchBaseAdapter) EXPECT() *MockCouchBaseAdapterMockRecorder
- func (m *MockCouchBaseAdapter) Log(arg0 ...interface{})
- func (m *MockCouchBaseAdapter) Logf(arg0 string, arg1 ...interface{})
- func (m *MockCouchBaseAdapter) Open() error
- func (m *MockCouchBaseAdapter) Operator(arg0 string) (tcb.Operator, error)
- type MockCouchBaseAdapterMockRecorder
- func (mr *MockCouchBaseAdapterMockRecorder) AddBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Bucket(arg0 interface{}) *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) CloseAll() *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Cluster() *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Log(arg0 ...interface{}) *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Logf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Open() *gomock.Call
- func (mr *MockCouchBaseAdapterMockRecorder) Operator(arg0 interface{}) *gomock.Call
- type MockLogger
- type MockLoggerMockRecorder
- type MockOperator
- func (m *MockOperator) EXPECT() *MockOperatorMockRecorder
- func (m *MockOperator) Get(arg0 string, arg1 interface{}) (gocb.Cas, error)
- func (m *MockOperator) Insert(arg0 string, arg1 interface{}, arg2 uint32) (gocb.Cas, error)
- func (m *MockOperator) N1qlQuery(arg0 string, arg1 interface{}) (gocb.QueryResults, error)
- func (m *MockOperator) N1qlQueryWithMode(arg0 gocb.ConsistencyMode, arg1 string, arg2 interface{}) (gocb.QueryResults, error)
- func (m *MockOperator) Remove(arg0 string) (gocb.Cas, error)
- func (m *MockOperator) Upsert(arg0 string, arg1 interface{}, arg2 uint32) (gocb.Cas, error)
- type MockOperatorMockRecorder
- func (mr *MockOperatorMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) N1qlQuery(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) N1qlQueryWithMode(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockOperatorMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigurer ¶
type MockConfigurer struct {
// contains filtered or unexported fields
}
MockConfigurer is a mock of Configurer interface
func NewMockConfigurer ¶
func NewMockConfigurer(ctrl *gomock.Controller) *MockConfigurer
NewMockConfigurer creates a new mock instance
func (*MockConfigurer) AddBucket ¶
func (m *MockConfigurer) AddBucket(arg0, arg1 string) (*gocb.Bucket, error)
AddBucket mocks base method
func (*MockConfigurer) Bucket ¶
func (m *MockConfigurer) Bucket(arg0 string) *gocb.Bucket
Bucket mocks base method
func (*MockConfigurer) Close ¶
func (m *MockConfigurer) Close(arg0 string) error
Close mocks base method
func (*MockConfigurer) CloseAll ¶
func (m *MockConfigurer) CloseAll() error
CloseAll mocks base method
func (*MockConfigurer) Cluster ¶
func (m *MockConfigurer) Cluster() *gocb.Cluster
Cluster mocks base method
func (*MockConfigurer) EXPECT ¶
func (m *MockConfigurer) EXPECT() *MockConfigurerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockConfigurerMockRecorder ¶
type MockConfigurerMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigurerMockRecorder is the mock recorder for MockConfigurer
func (*MockConfigurerMockRecorder) AddBucket ¶
func (mr *MockConfigurerMockRecorder) AddBucket(arg0, arg1 interface{}) *gomock.Call
AddBucket indicates an expected call of AddBucket
func (*MockConfigurerMockRecorder) Bucket ¶
func (mr *MockConfigurerMockRecorder) Bucket(arg0 interface{}) *gomock.Call
Bucket indicates an expected call of Bucket
func (*MockConfigurerMockRecorder) Close ¶
func (mr *MockConfigurerMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close
func (*MockConfigurerMockRecorder) CloseAll ¶
func (mr *MockConfigurerMockRecorder) CloseAll() *gomock.Call
CloseAll indicates an expected call of CloseAll
func (*MockConfigurerMockRecorder) Cluster ¶
func (mr *MockConfigurerMockRecorder) Cluster() *gomock.Call
Cluster indicates an expected call of Cluster
func (*MockConfigurerMockRecorder) Open ¶
func (mr *MockConfigurerMockRecorder) Open() *gomock.Call
Open indicates an expected call of Open
func (*MockConfigurerMockRecorder) Operator ¶
func (mr *MockConfigurerMockRecorder) Operator(arg0 interface{}) *gomock.Call
Operator indicates an expected call of Operator
type MockCouchBaseAdapter ¶
type MockCouchBaseAdapter struct {
// contains filtered or unexported fields
}
MockCouchBaseAdapter is a mock of CouchBaseAdapter interface
func NewMockCouchBaseAdapter ¶
func NewMockCouchBaseAdapter(ctrl *gomock.Controller) *MockCouchBaseAdapter
NewMockCouchBaseAdapter creates a new mock instance
func (*MockCouchBaseAdapter) AddBucket ¶
func (m *MockCouchBaseAdapter) AddBucket(arg0, arg1 string) (*gocb.Bucket, error)
AddBucket mocks base method
func (*MockCouchBaseAdapter) Bucket ¶
func (m *MockCouchBaseAdapter) Bucket(arg0 string) *gocb.Bucket
Bucket mocks base method
func (*MockCouchBaseAdapter) Close ¶
func (m *MockCouchBaseAdapter) Close(arg0 string) error
Close mocks base method
func (*MockCouchBaseAdapter) CloseAll ¶
func (m *MockCouchBaseAdapter) CloseAll() error
CloseAll mocks base method
func (*MockCouchBaseAdapter) Cluster ¶
func (m *MockCouchBaseAdapter) Cluster() *gocb.Cluster
Cluster mocks base method
func (*MockCouchBaseAdapter) EXPECT ¶
func (m *MockCouchBaseAdapter) EXPECT() *MockCouchBaseAdapterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCouchBaseAdapter) Log ¶
func (m *MockCouchBaseAdapter) Log(arg0 ...interface{})
Log mocks base method
func (*MockCouchBaseAdapter) Logf ¶
func (m *MockCouchBaseAdapter) Logf(arg0 string, arg1 ...interface{})
Logf mocks base method
func (*MockCouchBaseAdapter) Open ¶
func (m *MockCouchBaseAdapter) Open() error
Open mocks base method
type MockCouchBaseAdapterMockRecorder ¶
type MockCouchBaseAdapterMockRecorder struct {
// contains filtered or unexported fields
}
MockCouchBaseAdapterMockRecorder is the mock recorder for MockCouchBaseAdapter
func (*MockCouchBaseAdapterMockRecorder) AddBucket ¶
func (mr *MockCouchBaseAdapterMockRecorder) AddBucket(arg0, arg1 interface{}) *gomock.Call
AddBucket indicates an expected call of AddBucket
func (*MockCouchBaseAdapterMockRecorder) Bucket ¶
func (mr *MockCouchBaseAdapterMockRecorder) Bucket(arg0 interface{}) *gomock.Call
Bucket indicates an expected call of Bucket
func (*MockCouchBaseAdapterMockRecorder) Close ¶
func (mr *MockCouchBaseAdapterMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close
func (*MockCouchBaseAdapterMockRecorder) CloseAll ¶
func (mr *MockCouchBaseAdapterMockRecorder) CloseAll() *gomock.Call
CloseAll indicates an expected call of CloseAll
func (*MockCouchBaseAdapterMockRecorder) Cluster ¶
func (mr *MockCouchBaseAdapterMockRecorder) Cluster() *gomock.Call
Cluster indicates an expected call of Cluster
func (*MockCouchBaseAdapterMockRecorder) Log ¶
func (mr *MockCouchBaseAdapterMockRecorder) Log(arg0 ...interface{}) *gomock.Call
Log indicates an expected call of Log
func (*MockCouchBaseAdapterMockRecorder) Logf ¶
func (mr *MockCouchBaseAdapterMockRecorder) Logf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Logf indicates an expected call of Logf
func (*MockCouchBaseAdapterMockRecorder) Open ¶
func (mr *MockCouchBaseAdapterMockRecorder) Open() *gomock.Call
Open indicates an expected call of Open
func (*MockCouchBaseAdapterMockRecorder) Operator ¶
func (mr *MockCouchBaseAdapterMockRecorder) Operator(arg0 interface{}) *gomock.Call
Operator indicates an expected call of Operator
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogger) Logf ¶
func (m *MockLogger) Logf(arg0 string, arg1 ...interface{})
Logf mocks base method
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) Log ¶
func (mr *MockLoggerMockRecorder) Log(arg0 ...interface{}) *gomock.Call
Log indicates an expected call of Log
func (*MockLoggerMockRecorder) Logf ¶
func (mr *MockLoggerMockRecorder) Logf(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Logf indicates an expected call of Logf
type MockOperator ¶
type MockOperator struct {
// contains filtered or unexported fields
}
MockOperator is a mock of Operator interface
func NewMockOperator ¶
func NewMockOperator(ctrl *gomock.Controller) *MockOperator
NewMockOperator creates a new mock instance
func (*MockOperator) EXPECT ¶
func (m *MockOperator) EXPECT() *MockOperatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOperator) Get ¶
func (m *MockOperator) Get(arg0 string, arg1 interface{}) (gocb.Cas, error)
Get mocks base method
func (*MockOperator) N1qlQuery ¶
func (m *MockOperator) N1qlQuery(arg0 string, arg1 interface{}) (gocb.QueryResults, error)
N1qlQuery mocks base method
func (*MockOperator) N1qlQueryWithMode ¶
func (m *MockOperator) N1qlQueryWithMode(arg0 gocb.ConsistencyMode, arg1 string, arg2 interface{}) (gocb.QueryResults, error)
N1qlQueryWithMode mocks base method
type MockOperatorMockRecorder ¶
type MockOperatorMockRecorder struct {
// contains filtered or unexported fields
}
MockOperatorMockRecorder is the mock recorder for MockOperator
func (*MockOperatorMockRecorder) Get ¶
func (mr *MockOperatorMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockOperatorMockRecorder) Insert ¶
func (mr *MockOperatorMockRecorder) Insert(arg0, arg1, arg2 interface{}) *gomock.Call
Insert indicates an expected call of Insert
func (*MockOperatorMockRecorder) N1qlQuery ¶
func (mr *MockOperatorMockRecorder) N1qlQuery(arg0, arg1 interface{}) *gomock.Call
N1qlQuery indicates an expected call of N1qlQuery
func (*MockOperatorMockRecorder) N1qlQueryWithMode ¶
func (mr *MockOperatorMockRecorder) N1qlQueryWithMode(arg0, arg1, arg2 interface{}) *gomock.Call
N1qlQueryWithMode indicates an expected call of N1qlQueryWithMode
func (*MockOperatorMockRecorder) Remove ¶
func (mr *MockOperatorMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockOperatorMockRecorder) Upsert ¶
func (mr *MockOperatorMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert