Documentation ¶
Overview ¶
Package mock_state is a generated GoMock package.
Index ¶
- func New(logger logger.Logger) state.Store
- type MockStore
- func (m *MockStore) BulkDelete(arg0 []state.DeleteRequest) error
- func (m *MockStore) BulkGet(arg0 []state.GetRequest) (bool, []state.BulkGetResponse, error)
- func (m *MockStore) BulkSet(arg0 []state.SetRequest) error
- func (m *MockStore) Delete(arg0 *state.DeleteRequest) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Features() []state.Feature
- func (m *MockStore) Get(arg0 *state.GetRequest) (*state.GetResponse, error)
- func (m *MockStore) Init(arg0 state.Metadata) error
- func (m *MockStore) Ping() error
- func (m *MockStore) Set(arg0 *state.SetRequest) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) BulkDelete(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) BulkGet(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) BulkSet(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Features() *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Set(arg0 interface{}) *gomock.Call
- type MockTransactionalStore
- type MockTransactionalStoreMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) BulkDelete ¶
func (m *MockStore) BulkDelete(arg0 []state.DeleteRequest) error
BulkDelete mocks base method.
func (*MockStore) BulkGet ¶
func (m *MockStore) BulkGet(arg0 []state.GetRequest) (bool, []state.BulkGetResponse, error)
BulkGet mocks base method.
func (*MockStore) BulkSet ¶
func (m *MockStore) BulkSet(arg0 []state.SetRequest) error
BulkSet mocks base method.
func (*MockStore) Delete ¶
func (m *MockStore) Delete(arg0 *state.DeleteRequest) error
Delete mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) Get ¶
func (m *MockStore) Get(arg0 *state.GetRequest) (*state.GetResponse, error)
Get mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) BulkDelete ¶
func (mr *MockStoreMockRecorder) BulkDelete(arg0 interface{}) *gomock.Call
BulkDelete indicates an expected call of BulkDelete.
func (*MockStoreMockRecorder) BulkGet ¶
func (mr *MockStoreMockRecorder) BulkGet(arg0 interface{}) *gomock.Call
BulkGet indicates an expected call of BulkGet.
func (*MockStoreMockRecorder) BulkSet ¶
func (mr *MockStoreMockRecorder) BulkSet(arg0 interface{}) *gomock.Call
BulkSet indicates an expected call of BulkSet.
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreMockRecorder) Features ¶
func (mr *MockStoreMockRecorder) Features() *gomock.Call
Features indicates an expected call of Features.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) Init ¶
func (mr *MockStoreMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockStoreMockRecorder) Set ¶
func (mr *MockStoreMockRecorder) Set(arg0 interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockTransactionalStore ¶
type MockTransactionalStore struct {
// contains filtered or unexported fields
}
MockTransactionalStore is a mock of TransactionalStore interface.
func NewMockTransactionalStore ¶
func NewMockTransactionalStore(ctrl *gomock.Controller) *MockTransactionalStore
NewMockTransactionalStore creates a new mock instance.
func (*MockTransactionalStore) EXPECT ¶
func (m *MockTransactionalStore) EXPECT() *MockTransactionalStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactionalStore) Init ¶
func (m *MockTransactionalStore) Init(arg0 state.Metadata) error
Init mocks base method.
func (*MockTransactionalStore) Multi ¶
func (m *MockTransactionalStore) Multi(arg0 *state.TransactionalStateRequest) error
Multi mocks base method.
type MockTransactionalStoreMockRecorder ¶
type MockTransactionalStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionalStoreMockRecorder is the mock recorder for MockTransactionalStore.
func (*MockTransactionalStoreMockRecorder) Init ¶
func (mr *MockTransactionalStoreMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockTransactionalStoreMockRecorder) Multi ¶
func (mr *MockTransactionalStoreMockRecorder) Multi(arg0 interface{}) *gomock.Call
Multi indicates an expected call of Multi.