mocks

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Count

func (m *MockRepository) Count(ctx context.Context, opts ...authclient.QOption) (int64, error)

Count mocks base method.

func (*MockRepository) Create

func (m *MockRepository) Create(ctx context.Context, authClient *authclient.AuthClient, opts ...authclient.QOption) (string, error)

Create mocks base method.

func (*MockRepository) Delete

func (m *MockRepository) Delete(ctx context.Context, id string, opts ...authclient.QOption) error

Delete mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) FetchList

func (m *MockRepository) FetchList(ctx context.Context, opts ...authclient.QOption) ([]*authclient.AuthClient, error)

FetchList mocks base method.

func (*MockRepository) Get

Get mocks base method.

func (*MockRepository) Update

func (m *MockRepository) Update(ctx context.Context, id string, authClient *authclient.AuthClient, opts ...authclient.QOption) error

Update mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Count

func (mr *MockRepositoryMockRecorder) Count(ctx any, opts ...any) *gomock.Call

Count indicates an expected call of Count.

func (*MockRepositoryMockRecorder) Create

func (mr *MockRepositoryMockRecorder) Create(ctx, authClient any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(ctx, id any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRepositoryMockRecorder) FetchList

func (mr *MockRepositoryMockRecorder) FetchList(ctx any, opts ...any) *gomock.Call

FetchList indicates an expected call of FetchList.

func (*MockRepositoryMockRecorder) Get

func (mr *MockRepositoryMockRecorder) Get(ctx, id any) *gomock.Call

Get indicates an expected call of Get.

func (*MockRepositoryMockRecorder) Update

func (mr *MockRepositoryMockRecorder) Update(ctx, id, authClient any, opts ...any) *gomock.Call

Update indicates an expected call of Update.

type MockSessionRepository added in v0.5.2

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

MockSessionRepository is a mock of SessionRepository interface.

func NewMockSessionRepository added in v0.5.2

func NewMockSessionRepository(ctrl *gomock.Controller) *MockSessionRepository

NewMockSessionRepository creates a new mock instance.

func (*MockSessionRepository) Count added in v0.5.2

Count mocks base method.

func (*MockSessionRepository) Delete added in v0.5.2

func (m *MockSessionRepository) Delete(ctx context.Context, id uint64, opts ...authclient.QOption) error

Delete mocks base method.

func (*MockSessionRepository) EXPECT added in v0.5.2

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

func (*MockSessionRepository) FetchList added in v0.5.2

FetchList mocks base method.

func (*MockSessionRepository) Get added in v0.5.2

Get mocks base method.

type MockSessionRepositoryMockRecorder added in v0.5.2

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

MockSessionRepositoryMockRecorder is the mock recorder for MockSessionRepository.

func (*MockSessionRepositoryMockRecorder) Count added in v0.5.2

func (mr *MockSessionRepositoryMockRecorder) Count(ctx any, opts ...any) *gomock.Call

Count indicates an expected call of Count.

func (*MockSessionRepositoryMockRecorder) Delete added in v0.5.2

func (mr *MockSessionRepositoryMockRecorder) Delete(ctx, id any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSessionRepositoryMockRecorder) FetchList added in v0.5.2

func (mr *MockSessionRepositoryMockRecorder) FetchList(ctx any, opts ...any) *gomock.Call

FetchList indicates an expected call of FetchList.

func (*MockSessionRepositoryMockRecorder) Get added in v0.5.2

func (mr *MockSessionRepositoryMockRecorder) Get(ctx, id any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

type MockSessionUsecase added in v0.5.2

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

MockSessionUsecase is a mock of SessionUsecase interface.

func NewMockSessionUsecase added in v0.5.2

func NewMockSessionUsecase(ctrl *gomock.Controller) *MockSessionUsecase

NewMockSessionUsecase creates a new mock instance.

func (*MockSessionUsecase) Count added in v0.5.2

func (m *MockSessionUsecase) Count(ctx context.Context, opts ...authclient.QOption) (int64, error)

Count mocks base method.

func (*MockSessionUsecase) Delete added in v0.5.2

func (m *MockSessionUsecase) Delete(ctx context.Context, id uint64, opts ...authclient.QOption) error

Delete mocks base method.

func (*MockSessionUsecase) EXPECT added in v0.5.2

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

func (*MockSessionUsecase) FetchList added in v0.5.2

FetchList mocks base method.

func (*MockSessionUsecase) Get added in v0.5.2

Get mocks base method.

type MockSessionUsecaseMockRecorder added in v0.5.2

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

MockSessionUsecaseMockRecorder is the mock recorder for MockSessionUsecase.

func (*MockSessionUsecaseMockRecorder) Count added in v0.5.2

func (mr *MockSessionUsecaseMockRecorder) Count(ctx any, opts ...any) *gomock.Call

Count indicates an expected call of Count.

func (*MockSessionUsecaseMockRecorder) Delete added in v0.5.2

func (mr *MockSessionUsecaseMockRecorder) Delete(ctx, id any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSessionUsecaseMockRecorder) FetchList added in v0.5.2

func (mr *MockSessionUsecaseMockRecorder) FetchList(ctx any, opts ...any) *gomock.Call

FetchList indicates an expected call of FetchList.

func (*MockSessionUsecaseMockRecorder) Get added in v0.5.2

func (mr *MockSessionUsecaseMockRecorder) Get(ctx, id any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

type MockUsecase

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

MockUsecase is a mock of Usecase interface.

func NewMockUsecase

func NewMockUsecase(ctrl *gomock.Controller) *MockUsecase

NewMockUsecase creates a new mock instance.

func (*MockUsecase) Count

func (m *MockUsecase) Count(ctx context.Context, opts ...authclient.QOption) (int64, error)

Count mocks base method.

func (*MockUsecase) Create

func (m *MockUsecase) Create(ctx context.Context, authClient *authclient.AuthClient, opts ...authclient.QOption) (string, error)

Create mocks base method.

func (*MockUsecase) Delete

func (m *MockUsecase) Delete(ctx context.Context, id string, opts ...authclient.QOption) error

Delete mocks base method.

func (*MockUsecase) EXPECT

func (m *MockUsecase) EXPECT() *MockUsecaseMockRecorder

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

func (*MockUsecase) FetchList

func (m *MockUsecase) FetchList(ctx context.Context, opts ...authclient.QOption) ([]*authclient.AuthClient, error)

FetchList mocks base method.

func (*MockUsecase) Get

Get mocks base method.

func (*MockUsecase) Update

func (m *MockUsecase) Update(ctx context.Context, id string, authClient *authclient.AuthClient, opts ...authclient.QOption) error

Update mocks base method.

type MockUsecaseMockRecorder

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

MockUsecaseMockRecorder is the mock recorder for MockUsecase.

func (*MockUsecaseMockRecorder) Count

func (mr *MockUsecaseMockRecorder) Count(ctx any, opts ...any) *gomock.Call

Count indicates an expected call of Count.

func (*MockUsecaseMockRecorder) Create

func (mr *MockUsecaseMockRecorder) Create(ctx, authClient any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockUsecaseMockRecorder) Delete

func (mr *MockUsecaseMockRecorder) Delete(ctx, id any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockUsecaseMockRecorder) FetchList

func (mr *MockUsecaseMockRecorder) FetchList(ctx any, opts ...any) *gomock.Call

FetchList indicates an expected call of FetchList.

func (*MockUsecaseMockRecorder) Get

func (mr *MockUsecaseMockRecorder) Get(ctx, id any) *gomock.Call

Get indicates an expected call of Get.

func (*MockUsecaseMockRecorder) Update

func (mr *MockUsecaseMockRecorder) Update(ctx, id, authClient any, opts ...any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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