Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockFormatter
- func (m *MockFormatter) Application(application entity.OauthApplication) entity.OauthApplicationJSON
- func (m *MockFormatter) ApplicationList(applications []entity.OauthApplication) []entity.OauthApplicationJSON
- func (m *MockFormatter) EXPECT() *MockFormatterMockRecorder
- func (m *MockFormatter) OauthApplicationInsertable(r entity.OauthApplicationJSON) entity.OauthApplicationInsertable
- type MockFormatterMockRecorder
- type MockOauthApplicationRepository
- func (m *MockOauthApplicationRepository) Count(ktx kontext.Context, tx db.TX) (int, exception.Exception)
- func (m *MockOauthApplicationRepository) Create(ktx kontext.Context, data entity.OauthApplicationInsertable, tx db.TX) (int, exception.Exception)
- func (m *MockOauthApplicationRepository) EXPECT() *MockOauthApplicationRepositoryMockRecorder
- func (m *MockOauthApplicationRepository) One(ktx kontext.Context, ID int, tx db.TX) (entity.OauthApplication, exception.Exception)
- func (m *MockOauthApplicationRepository) OneByUIDandSecret(ktx kontext.Context, clientUID, clientSecret string, tx db.TX) (entity.OauthApplication, exception.Exception)
- func (m *MockOauthApplicationRepository) Paginate(ktx kontext.Context, offset, limit int, tx db.TX) ([]entity.OauthApplication, exception.Exception)
- func (m *MockOauthApplicationRepository) Update(ktx kontext.Context, ID int, data entity.OauthApplicationUpdateable, tx db.TX) exception.Exception
- type MockOauthApplicationRepositoryMockRecorder
- func (mr *MockOauthApplicationRepositoryMockRecorder) Count(ktx, tx interface{}) *gomock.Call
- func (mr *MockOauthApplicationRepositoryMockRecorder) Create(ktx, data, tx interface{}) *gomock.Call
- func (mr *MockOauthApplicationRepositoryMockRecorder) One(ktx, ID, tx interface{}) *gomock.Call
- func (mr *MockOauthApplicationRepositoryMockRecorder) OneByUIDandSecret(ktx, clientUID, clientSecret, tx interface{}) *gomock.Call
- func (mr *MockOauthApplicationRepositoryMockRecorder) Paginate(ktx, offset, limit, tx interface{}) *gomock.Call
- func (mr *MockOauthApplicationRepositoryMockRecorder) Update(ktx, ID, data, tx interface{}) *gomock.Call
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 ¶
func (m *MockFormatter) EXPECT() *MockFormatterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFormatter) OauthApplicationInsertable ¶
func (m *MockFormatter) OauthApplicationInsertable(r entity.OauthApplicationJSON) entity.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 ¶
func (m *MockOauthApplicationRepository) Count(ktx kontext.Context, tx db.TX) (int, exception.Exception)
Count mocks base method.
func (*MockOauthApplicationRepository) Create ¶
func (m *MockOauthApplicationRepository) Create(ktx kontext.Context, data entity.OauthApplicationInsertable, tx db.TX) (int, exception.Exception)
Create mocks base method.
func (*MockOauthApplicationRepository) EXPECT ¶
func (m *MockOauthApplicationRepository) EXPECT() *MockOauthApplicationRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOauthApplicationRepository) One ¶
func (m *MockOauthApplicationRepository) One(ktx kontext.Context, ID int, tx db.TX) (entity.OauthApplication, exception.Exception)
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.
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.