mock_service

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

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.

func (*MockIUser) New

func (m *MockIUser) New(ctx context.Context, name values.UserName, password values.Password) error

New mocks base method.

func (*MockIUser) ResetContainer

func (m *MockIUser) ResetContainer(ctx context.Context, userName values.UserName) error

ResetContainer mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL