Documentation
¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockIUser
- func (m *MockIUser) Auth(ctx context.Context, name values.UserName, password values.Password) (bool, error)
- func (m *MockIUser) EXPECT() *MockIUserMockRecorder
- func (m *MockIUser) New(ctx context.Context, name values.UserName, password values.Password) error
- func (m *MockIUser) ResetContainer(ctx context.Context, userName values.UserName) error
- type MockIUserMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIUser ¶
type MockIUser struct {
// contains filtered or unexported fields
}
MockIUser is a mock of IUser interface.
func NewMockIUser ¶
func NewMockIUser(ctrl *gomock.Controller) *MockIUser
NewMockIUser creates a new mock instance.
func (*MockIUser) Auth ¶
func (m *MockIUser) Auth(ctx context.Context, name values.UserName, password values.Password) (bool, error)
Auth mocks base method.
func (*MockIUser) EXPECT ¶
func (m *MockIUser) EXPECT() *MockIUserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIUserMockRecorder ¶
type MockIUserMockRecorder struct {
// contains filtered or unexported fields
}
MockIUserMockRecorder is the mock recorder for MockIUser.
func (*MockIUserMockRecorder) Auth ¶
func (mr *MockIUserMockRecorder) Auth(ctx, name, password interface{}) *gomock.Call
Auth indicates an expected call of Auth.
func (*MockIUserMockRecorder) New ¶
func (mr *MockIUserMockRecorder) New(ctx, name, password interface{}) *gomock.Call
New indicates an expected call of New.
func (*MockIUserMockRecorder) ResetContainer ¶
func (mr *MockIUserMockRecorder) ResetContainer(ctx, userName interface{}) *gomock.Call
ResetContainer indicates an expected call of ResetContainer.
Click to show internal directories.
Click to hide internal directories.