mock

package
v0.0.0-...-8450a52 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFormatter

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

MockFormatter is a mock of Formatter interface.

func NewMockFormatter

func NewMockFormatter(ctrl *gomock.Controller) *MockFormatter

NewMockFormatter creates a new mock instance.

func (*MockFormatter) Application

func (m *MockFormatter) Application(application entity.OauthApplication) entity.OauthApplicationJSON

Application mocks base method.

func (*MockFormatter) ApplicationList

func (m *MockFormatter) ApplicationList(applications []entity.OauthApplication) []entity.OauthApplicationJSON

ApplicationList mocks base method.

func (*MockFormatter) EXPECT

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

func (*MockFormatter) OauthApplicationInsertable

OauthApplicationInsertable mocks base method.

type MockFormatterMockRecorder

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

MockFormatterMockRecorder is the mock recorder for MockFormatter.

func (*MockFormatterMockRecorder) Application

func (mr *MockFormatterMockRecorder) Application(application interface{}) *gomock.Call

Application indicates an expected call of Application.

func (*MockFormatterMockRecorder) ApplicationList

func (mr *MockFormatterMockRecorder) ApplicationList(applications interface{}) *gomock.Call

ApplicationList indicates an expected call of ApplicationList.

func (*MockFormatterMockRecorder) OauthApplicationInsertable

func (mr *MockFormatterMockRecorder) OauthApplicationInsertable(r interface{}) *gomock.Call

OauthApplicationInsertable indicates an expected call of OauthApplicationInsertable.

type MockOauthApplicationRepository

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

MockOauthApplicationRepository is a mock of OauthApplicationRepository interface.

func NewMockOauthApplicationRepository

func NewMockOauthApplicationRepository(ctrl *gomock.Controller) *MockOauthApplicationRepository

NewMockOauthApplicationRepository creates a new mock instance.

func (*MockOauthApplicationRepository) Count

Count mocks base method.

func (*MockOauthApplicationRepository) Create

Create mocks base method.

func (*MockOauthApplicationRepository) EXPECT

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

func (*MockOauthApplicationRepository) One

One mocks base method.

func (*MockOauthApplicationRepository) OneByUIDandSecret

func (m *MockOauthApplicationRepository) OneByUIDandSecret(ktx kontext.Context, clientUID, clientSecret string, tx db.TX) (entity.OauthApplication, exception.Exception)

OneByUIDandSecret mocks base method.

func (*MockOauthApplicationRepository) Paginate

Paginate mocks base method.

func (*MockOauthApplicationRepository) Update

Update mocks base method.

type MockOauthApplicationRepositoryMockRecorder

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

MockOauthApplicationRepositoryMockRecorder is the mock recorder for MockOauthApplicationRepository.

func (*MockOauthApplicationRepositoryMockRecorder) Count

func (mr *MockOauthApplicationRepositoryMockRecorder) Count(ktx, tx interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockOauthApplicationRepositoryMockRecorder) Create

func (mr *MockOauthApplicationRepositoryMockRecorder) Create(ktx, data, tx interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockOauthApplicationRepositoryMockRecorder) One

func (mr *MockOauthApplicationRepositoryMockRecorder) One(ktx, ID, tx interface{}) *gomock.Call

One indicates an expected call of One.

func (*MockOauthApplicationRepositoryMockRecorder) OneByUIDandSecret

func (mr *MockOauthApplicationRepositoryMockRecorder) OneByUIDandSecret(ktx, clientUID, clientSecret, tx interface{}) *gomock.Call

OneByUIDandSecret indicates an expected call of OneByUIDandSecret.

func (*MockOauthApplicationRepositoryMockRecorder) Paginate

func (mr *MockOauthApplicationRepositoryMockRecorder) Paginate(ktx, offset, limit, tx interface{}) *gomock.Call

Paginate indicates an expected call of Paginate.

func (*MockOauthApplicationRepositoryMockRecorder) Update

func (mr *MockOauthApplicationRepositoryMockRecorder) Update(ktx, ID, data, tx interface{}) *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