Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClienter ¶
type MockClienter struct {
// contains filtered or unexported fields
}
MockClienter is a mock of Clienter interface
func NewMockClienter ¶
func NewMockClienter(ctrl *gomock.Controller) *MockClienter
NewMockClienter creates a new mock instance
func (*MockClienter) EXPECT ¶
func (m *MockClienter) EXPECT() *MockClienterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClienter) Session ¶
func (m *MockClienter) Session() *api.Session
Session mocks base method
type MockClienterMockRecorder ¶
type MockClienterMockRecorder struct {
// contains filtered or unexported fields
}
MockClienterMockRecorder is the mock recorder for MockClienter
func (*MockClienterMockRecorder) Agent ¶
func (mr *MockClienterMockRecorder) Agent() *gomock.Call
Agent indicates an expected call of Agent
func (*MockClienterMockRecorder) KV ¶
func (mr *MockClienterMockRecorder) KV() *gomock.Call
KV indicates an expected call of KV
func (*MockClienterMockRecorder) Session ¶
func (mr *MockClienterMockRecorder) Session() *gomock.Call
Session indicates an expected call of Session
type MockKeyValuer ¶
type MockKeyValuer struct {
// contains filtered or unexported fields
}
MockKeyValuer is a mock of KeyValuer interface
func NewMockKeyValuer ¶
func NewMockKeyValuer(ctrl *gomock.Controller) *MockKeyValuer
NewMockKeyValuer creates a new mock instance
func (*MockKeyValuer) Acquire ¶
func (m *MockKeyValuer) Acquire(p *api.KVPair, q *api.WriteOptions) (bool, *api.WriteMeta, error)
Acquire mocks base method
func (*MockKeyValuer) EXPECT ¶
func (m *MockKeyValuer) EXPECT() *MockKeyValuerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockKeyValuerMockRecorder ¶
type MockKeyValuerMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyValuerMockRecorder is the mock recorder for MockKeyValuer
func (*MockKeyValuerMockRecorder) Acquire ¶
func (mr *MockKeyValuerMockRecorder) Acquire(p, q interface{}) *gomock.Call
Acquire indicates an expected call of Acquire
func (*MockKeyValuerMockRecorder) Release ¶
func (mr *MockKeyValuerMockRecorder) Release(p, q interface{}) *gomock.Call
Release indicates an expected call of Release