mocks

package
v0.0.0-...-82802e3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 5 Imported by: 0

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 MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) CreateGroup

func (m *MockInterface) CreateGroup(ctx context.Context, user uuid.UUID, name, description string) (*model.CreateGroupResponse, error)

CreateGroup mocks base method.

func (*MockInterface) CreateInvite

func (m *MockInterface) CreateInvite(ctx context.Context, user, group uuid.UUID, role *model.Role, limit int) (*model.CreateInviteResponse, error)

CreateInvite mocks base method.

func (*MockInterface) CreateTask

func (m *MockInterface) CreateTask(ctx context.Context, user uuid.UUID, task model.TaskCreateRequest) (*model.Task, error)

CreateTask mocks base method.

func (*MockInterface) CreateToken

func (m *MockInterface) CreateToken(ctx context.Context, username, password, token string) (*model.CreateTokenResponse, error)

CreateToken mocks base method.

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) GetMe

func (m *MockInterface) GetMe(ctx context.Context, user uuid.UUID) (*model.GetMeResponse, error)

GetMe mocks base method.

func (*MockInterface) GetTask

func (m *MockInterface) GetTask(ctx context.Context, user, task uuid.UUID) (*model.Task, error)

GetTask mocks base method.

func (*MockInterface) GetUserFromToken

func (m *MockInterface) GetUserFromToken(ctx context.Context, t string) (uuid.UUID, error)

GetUserFromToken mocks base method.

func (*MockInterface) GetUserTasks

func (m *MockInterface) GetUserTasks(ctx context.Context, user uuid.UUID) (*model.GetTasksResponse, error)

GetUserTasks mocks base method.

func (*MockInterface) Ping

func (m *MockInterface) Ping(ctx context.Context) error

Ping mocks base method.

func (*MockInterface) RegisterUser

func (m *MockInterface) RegisterUser(ctx context.Context, email, password string) (*model.User, error)

RegisterUser mocks base method.

func (*MockInterface) UseInvite

func (m *MockInterface) UseInvite(ctx context.Context, user, group, invite uuid.UUID) error

UseInvite mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) CreateGroup

func (mr *MockInterfaceMockRecorder) CreateGroup(ctx, user, name, description interface{}) *gomock.Call

CreateGroup indicates an expected call of CreateGroup.

func (*MockInterfaceMockRecorder) CreateInvite

func (mr *MockInterfaceMockRecorder) CreateInvite(ctx, user, group, role, limit interface{}) *gomock.Call

CreateInvite indicates an expected call of CreateInvite.

func (*MockInterfaceMockRecorder) CreateTask

func (mr *MockInterfaceMockRecorder) CreateTask(ctx, user, task interface{}) *gomock.Call

CreateTask indicates an expected call of CreateTask.

func (*MockInterfaceMockRecorder) CreateToken

func (mr *MockInterfaceMockRecorder) CreateToken(ctx, username, password, token interface{}) *gomock.Call

CreateToken indicates an expected call of CreateToken.

func (*MockInterfaceMockRecorder) GetMe

func (mr *MockInterfaceMockRecorder) GetMe(ctx, user interface{}) *gomock.Call

GetMe indicates an expected call of GetMe.

func (*MockInterfaceMockRecorder) GetTask

func (mr *MockInterfaceMockRecorder) GetTask(ctx, user, task interface{}) *gomock.Call

GetTask indicates an expected call of GetTask.

func (*MockInterfaceMockRecorder) GetUserFromToken

func (mr *MockInterfaceMockRecorder) GetUserFromToken(ctx, t interface{}) *gomock.Call

GetUserFromToken indicates an expected call of GetUserFromToken.

func (*MockInterfaceMockRecorder) GetUserTasks

func (mr *MockInterfaceMockRecorder) GetUserTasks(ctx, user interface{}) *gomock.Call

GetUserTasks indicates an expected call of GetUserTasks.

func (*MockInterfaceMockRecorder) Ping

func (mr *MockInterfaceMockRecorder) Ping(ctx interface{}) *gomock.Call

Ping indicates an expected call of Ping.

func (*MockInterfaceMockRecorder) RegisterUser

func (mr *MockInterfaceMockRecorder) RegisterUser(ctx, email, password interface{}) *gomock.Call

RegisterUser indicates an expected call of RegisterUser.

func (*MockInterfaceMockRecorder) UseInvite

func (mr *MockInterfaceMockRecorder) UseInvite(ctx, user, group, invite interface{}) *gomock.Call

UseInvite indicates an expected call of UseInvite.

Jump to

Keyboard shortcuts

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