Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockApplicationManager
- func (m *MockApplicationManager) Create(ktx kontext.Context, e entity.OauthApplicationJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
- func (m *MockApplicationManager) EXPECT() *MockApplicationManagerMockRecorder
- func (m *MockApplicationManager) List(ktx kontext.Context, offset, limit int) ([]entity.OauthApplicationJSON, int, jsonapi.Errors)
- func (m *MockApplicationManager) One(ktx kontext.Context, ID int) (entity.OauthApplicationJSON, jsonapi.Errors)
- func (m *MockApplicationManager) Update(ktx kontext.Context, ID int, e entity.OauthApplicationUpdateJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
- type MockApplicationManagerMockRecorder
- func (mr *MockApplicationManagerMockRecorder) Create(ktx, e interface{}) *gomock.Call
- func (mr *MockApplicationManagerMockRecorder) List(ktx, offset, limit interface{}) *gomock.Call
- func (mr *MockApplicationManagerMockRecorder) One(ktx, ID interface{}) *gomock.Call
- func (mr *MockApplicationManagerMockRecorder) Update(ktx, ID, e interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationManager ¶
type MockApplicationManager struct {
// contains filtered or unexported fields
}
MockApplicationManager is a mock of ApplicationManager interface.
func NewMockApplicationManager ¶
func NewMockApplicationManager(ctrl *gomock.Controller) *MockApplicationManager
NewMockApplicationManager creates a new mock instance.
func (*MockApplicationManager) Create ¶
func (m *MockApplicationManager) Create(ktx kontext.Context, e entity.OauthApplicationJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
Create mocks base method.
func (*MockApplicationManager) EXPECT ¶
func (m *MockApplicationManager) EXPECT() *MockApplicationManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationManager) List ¶
func (m *MockApplicationManager) List(ktx kontext.Context, offset, limit int) ([]entity.OauthApplicationJSON, int, jsonapi.Errors)
List mocks base method.
func (*MockApplicationManager) One ¶
func (m *MockApplicationManager) One(ktx kontext.Context, ID int) (entity.OauthApplicationJSON, jsonapi.Errors)
One mocks base method.
func (*MockApplicationManager) Update ¶
func (m *MockApplicationManager) Update(ktx kontext.Context, ID int, e entity.OauthApplicationUpdateJSON) (entity.OauthApplicationJSON, jsonapi.Errors)
Update mocks base method.
type MockApplicationManagerMockRecorder ¶
type MockApplicationManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationManagerMockRecorder is the mock recorder for MockApplicationManager.
func (*MockApplicationManagerMockRecorder) Create ¶
func (mr *MockApplicationManagerMockRecorder) Create(ktx, e interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockApplicationManagerMockRecorder) List ¶
func (mr *MockApplicationManagerMockRecorder) List(ktx, offset, limit interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockApplicationManagerMockRecorder) One ¶
func (mr *MockApplicationManagerMockRecorder) One(ktx, ID interface{}) *gomock.Call
One indicates an expected call of One.
func (*MockApplicationManagerMockRecorder) Update ¶
func (mr *MockApplicationManagerMockRecorder) Update(ktx, ID, e interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.