Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) DeleteUser(arg0 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) IsEncryptionEnabled(arg0, arg1 string) bool
- func (m *MockStore) LoadUser(arg0 string) (*store.User, error)
- func (m *MockStore) SetEncryptionStatus(arg0, arg1 string, arg2 bool) error
- func (m *MockStore) StoreUser(arg0 *store.User) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IsEncryptionEnabled(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetEncryptionStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) DeleteUser ¶
DeleteUser 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) IsEncryptionEnabled ¶
IsEncryptionEnabled mocks base method
func (*MockStore) SetEncryptionStatus ¶
SetEncryptionStatus mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) DeleteUser ¶
func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser
func (*MockStoreMockRecorder) IsEncryptionEnabled ¶
func (mr *MockStoreMockRecorder) IsEncryptionEnabled(arg0, arg1 interface{}) *gomock.Call
IsEncryptionEnabled indicates an expected call of IsEncryptionEnabled
func (*MockStoreMockRecorder) LoadUser ¶
func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call
LoadUser indicates an expected call of LoadUser
func (*MockStoreMockRecorder) SetEncryptionStatus ¶
func (mr *MockStoreMockRecorder) SetEncryptionStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetEncryptionStatus indicates an expected call of SetEncryptionStatus
func (*MockStoreMockRecorder) StoreUser ¶
func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call
StoreUser indicates an expected call of StoreUser